Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00163/0.00163, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001538/0.001538, allocations: 214.2 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 230.5 MB / 257.4 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2307/0.2307, allocations: 46.94 MB / 360.8 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002748/0.002748, allocations: 79.88 kB / 0.4966 GB, free: 7.035 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3722, allocations: 66.09 MB / 0.5612 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.014/0.3862, allocations: 10.4 MB / 0.5713 GB, free: 9.484 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009907/0.3961, allocations: 3.895 MB / 0.5751 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002577/0.3987, allocations: 83.75 kB / 0.5752 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004239/0.4029, allocations: 1.643 MB / 0.5768 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004635/0.4076, allocations: 1.557 MB / 0.5783 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.4103, allocations: 1.157 MB / 0.5795 GB, free: 1.125 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005813/0.4161, allocations: 3.493 MB / 0.5829 GB, free: 13.63 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003745/0.4199, allocations: 1.988 MB / 0.5848 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002491/0.4224, allocations: 1.176 MB / 0.586 GB, free: 10.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002882/0.4253, allocations: 1.662 MB / 0.5876 GB, free: 8.734 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009089/0.4262, allocations: 236 kB / 0.5878 GB, free: 8.504 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/0.428, allocations: 0.6163 MB / 0.5884 GB, free: 7.887 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001988/0.43, allocations: 1.593 MB / 0.59 GB, free: 6.289 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002495/0.4325, allocations: 1.3 MB / 0.5912 GB, free: 4.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007739/0.4402, allocations: 6.183 MB / 0.5973 GB, free: 14.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4402, allocations: 0 / 0.5973 GB, free: 14.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4402, allocations: 0 / 0.5973 GB, free: 14.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002089/0.4404, allocations: 0 / 0.5973 GB, free: 14.77 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1539 * Number of variables: 1539 Notification: Performance of Generate backend data structure: time 0.007446/0.4479, allocations: 4.015 MB / 0.6012 GB, free: 10.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.4479, allocations: 12.03 kB / 0.6012 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009906/0.4578, allocations: 2.997 MB / 0.6041 GB, free: 7.684 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004994/0.4628, allocations: 1.771 MB / 0.6059 GB, free: 5.879 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002017/0.463, allocations: 185.1 kB / 0.606 GB, free: 5.695 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008434/0.4638, allocations: 255.8 kB / 0.6063 GB, free: 5.445 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01736/0.4812, allocations: 10.04 MB / 0.6161 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.377e-05/0.4813, allocations: 35.69 kB / 0.6161 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004124/0.4817, allocations: 127.8 kB / 0.6162 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003954/0.4856, allocations: 2.306 MB / 0.6185 GB, free: 8.281 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01788/0.5035, allocations: 8.917 MB / 0.6272 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05388/0.5574, allocations: 35.03 MB / 0.6614 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00605/0.5635, allocations: 2.358 MB / 0.6637 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002353/0.5658, allocations: 1.136 MB / 0.6648 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009805/0.5756, allocations: 4.453 MB / 0.6692 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.554e-05/0.5757, allocations: 55.2 kB / 0.6692 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 5.51e-06/0.5757, allocations: 0 / 0.6692 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.007403/0.5831, allocations: 3.32 MB / 0.6725 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.5832, allocations: 166.9 kB / 0.6726 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005783/0.589, allocations: 3.752 MB / 0.6763 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001755/0.5892, allocations: 41.7 kB / 0.6763 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002882/0.5921, allocations: 3.337 MB / 0.6796 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000862/0.5929, allocations: 0.6399 MB / 0.6802 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001893/0.5948, allocations: 1.31 MB / 0.6815 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002245/0.595, allocations: 353.9 kB / 0.6818 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003185/0.5982, allocations: 1.957 MB / 0.6837 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007099/0.6053, allocations: 6.104 MB / 0.6897 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01178/0.6171, allocations: 8.785 MB / 0.6983 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001534/0.6173, allocations: 44 kB / 0.6983 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01508/0.6323, allocations: 7.694 MB / 0.7058 GB, free: 9.324 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001684/0.6325, allocations: 68 kB / 0.7059 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003148/0.6328, allocations: 151.9 kB / 0.706 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002576/0.6331, allocations: 192.5 kB / 0.7062 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004723/0.6378, allocations: 1.454 MB / 0.7076 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003894/0.6382, allocations: 291.2 kB / 0.7079 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005035/0.6432, allocations: 0.8997 MB / 0.7088 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008967/0.6441, allocations: 412.1 kB / 0.7092 GB, free: 5.875 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 673 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (791): * Single equations (assignments): 783 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004535/0.6487, allocations: 2.199 MB / 0.7113 GB, free: 3.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007066/0.6494, allocations: 294 kB / 0.7116 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009061/0.6503, allocations: 388.3 kB / 0.712 GB, free: 2.984 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.562e-05/0.6503, allocations: 39.97 kB / 0.712 GB, free: 2.945 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.6504, allocations: 7.938 kB / 0.712 GB, free: 2.938 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.6504, allocations: 3.984 kB / 0.712 GB, free: 2.934 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/0.6607, allocations: 4.331 MB / 0.7163 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/0.6607, allocations: 8 kB / 0.7163 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.6617, allocations: 204.3 kB / 0.7165 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.09e-05/0.6618, allocations: 12 kB / 0.7165 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/0.6619, allocations: 32 kB / 0.7165 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.672e-05/0.6619, allocations: 15.88 kB / 0.7165 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/0.6619, allocations: 11.94 kB / 0.7165 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003582/0.6655, allocations: 2.512 MB / 0.719 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006473/0.6661, allocations: 281.6 kB / 0.7193 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000282/0.6664, allocations: 35.97 kB / 0.7193 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000955/0.6674, allocations: 63.86 kB / 0.7194 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.6676, allocations: 88.19 kB / 0.7194 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.766e-05/0.6676, allocations: 47.98 kB / 0.7195 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003363/0.671, allocations: 2.091 MB / 0.7215 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.671, allocations: 0 / 0.7215 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005084/0.6761, allocations: 1.102 MB / 0.7226 GB, free: 7.922 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 102 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004233/0.6765, allocations: 154.9 kB / 0.7228 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007629/0.6841, allocations: 4.255 MB / 0.7269 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/0.6842, allocations: 0 / 0.7269 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001367/0.6855, allocations: 0.8791 MB / 0.7278 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/0.6877, allocations: 285.6 kB / 0.728 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3357/1.023, allocations: 8.345 MB / 0.7362 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00331/1.027, allocations: 2.62 MB / 0.7388 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004052/1.031, allocations: 2.19 MB / 0.7409 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004643/1.031, allocations: 213.7 kB / 0.7411 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.413e-06/1.031, allocations: 0 / 0.7411 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.04054/1.072, allocations: 20.72 MB / 0.7613 GB, free: 134.4 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.928998885676265]