Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001383/0.001383, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001507/0.001507, allocations: 206.2 kB / 24.47 MB, free: 4.023 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.522/1.522, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2454/0.2454, allocations: 46.89 MB / 361.1 MB, free: 4.652 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 75.88 kB / 0.4967 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3715, allocations: 65.99 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01432/0.3858, allocations: 12 MB / 0.5729 GB, free: 8.973 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009915/0.3958, allocations: 4.109 MB / 0.5769 GB, free: 4.848 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003067/0.3988, allocations: 75.88 kB / 0.577 GB, free: 4.773 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004061/0.4029, allocations: 1.705 MB / 0.5787 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004735/0.4076, allocations: 1.553 MB / 0.5802 GB, free: 1.504 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002778/0.4104, allocations: 1.196 MB / 0.5813 GB, free: 312 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006203/0.4166, allocations: 3.502 MB / 0.5848 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00304/0.4196, allocations: 1.805 MB / 0.5865 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002274/0.4219, allocations: 1.16 MB / 0.5877 GB, free: 9.773 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003842/0.4258, allocations: 1.725 MB / 0.5893 GB, free: 8.043 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008936/0.4266, allocations: 240 kB / 0.5896 GB, free: 7.809 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.4285, allocations: 0.7332 MB / 0.5903 GB, free: 7.074 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00194/0.4305, allocations: 1.593 MB / 0.5918 GB, free: 5.477 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002349/0.4328, allocations: 1.863 MB / 0.5937 GB, free: 3.602 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00905/0.4419, allocations: 6.15 MB / 0.5997 GB, free: 13.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.4419, allocations: 0 / 0.5997 GB, free: 13.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.4419, allocations: 0 / 0.5997 GB, free: 13.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002574/0.4421, allocations: 0 / 0.5997 GB, free: 13.43 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.01052/0.4527, allocations: 4.09 MB / 0.6037 GB, free: 9.258 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.4527, allocations: 16.03 kB / 0.6037 GB, free: 9.242 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/0.4638, allocations: 2.989 MB / 0.6066 GB, free: 6.246 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005546/0.4694, allocations: 1.831 MB / 0.6084 GB, free: 4.363 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002194/0.4696, allocations: 185.1 kB / 0.6086 GB, free: 4.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009932/0.4706, allocations: 251.8 kB / 0.6088 GB, free: 3.934 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01778/0.4884, allocations: 10.04 MB / 0.6186 GB, free: 9.234 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.818e-05/0.4884, allocations: 27.75 kB / 0.6186 GB, free: 9.207 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004175/0.4888, allocations: 123.8 kB / 0.6188 GB, free: 9.086 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003937/0.4928, allocations: 2.314 MB / 0.621 GB, free: 6.762 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01713/0.5099, allocations: 8.924 MB / 0.6297 GB, free: 13.83 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05372/0.5636, allocations: 37.61 MB / 0.6665 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005977/0.5696, allocations: 3.247 MB / 0.6696 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001878/0.5715, allocations: 1.136 MB / 0.6707 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009725/0.5812, allocations: 5.184 MB / 0.6758 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.5813, allocations: 55.05 kB / 0.6758 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 4.278e-06/0.5813, allocations: 0 / 0.6758 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of matching and sorting (n=150): time 0.007364/0.5886, allocations: 3.34 MB / 0.6791 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/0.5888, allocations: 162.9 kB / 0.6793 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005994/0.5948, allocations: 3.845 MB / 0.683 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001678/0.5949, allocations: 45.69 kB / 0.6831 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002498/0.5974, allocations: 3.317 MB / 0.6863 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007132/0.5981, allocations: 0.6321 MB / 0.6869 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001624/0.5998, allocations: 1.31 MB / 0.6882 GB, free: 296 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.5999, allocations: 305.1 kB / 0.6885 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002898/0.6028, allocations: 1.957 MB / 0.6904 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007318/0.6101, allocations: 6.108 MB / 0.6964 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01103/0.6212, allocations: 8.787 MB / 0.7049 GB, free: 10.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001277/0.6213, allocations: 40 kB / 0.705 GB, free: 10.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01462/0.6359, allocations: 7.711 MB / 0.7125 GB, free: 3.227 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.636, allocations: 74.12 kB / 0.7126 GB, free: 3.156 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001662/0.6362, allocations: 148.9 kB / 0.7127 GB, free: 3.012 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002093/0.6364, allocations: 192 kB / 0.7129 GB, free: 2.824 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004555/0.6409, allocations: 1.466 MB / 0.7143 GB, free: 1.355 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003087/0.6413, allocations: 286.9 kB / 0.7146 GB, free: 1.074 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005134/0.6464, allocations: 0.9345 MB / 0.7155 GB, free: 136 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001064/0.6474, allocations: 404 kB / 0.7159 GB, free: 15.74 MB / 0.5606 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.005039/0.6525, allocations: 2.198 MB / 0.7181 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009361/0.6534, allocations: 329.7 kB / 0.7184 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.6545, allocations: 407.1 kB / 0.7188 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.968e-05/0.6546, allocations: 39.98 kB / 0.7188 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.76e-05/0.6546, allocations: 320 / 0.7188 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.6546, allocations: 7.984 kB / 0.7188 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01341/0.668, allocations: 5.471 MB / 0.7242 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-05/0.6681, allocations: 8.188 kB / 0.7242 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.6692, allocations: 207.7 kB / 0.7244 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.171e-05/0.6692, allocations: 15.88 kB / 0.7244 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/0.6693, allocations: 32.59 kB / 0.7244 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-05/0.6693, allocations: 15.92 kB / 0.7244 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.287e-05/0.6694, allocations: 15.94 kB / 0.7244 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003918/0.6733, allocations: 2.542 MB / 0.7269 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009788/0.6743, allocations: 390.6 kB / 0.7273 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006199/0.6749, allocations: 27.94 kB / 0.7273 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/0.6763, allocations: 63.92 kB / 0.7274 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002884/0.6766, allocations: 84.28 kB / 0.7275 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/0.6767, allocations: 44 kB / 0.7275 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005143/0.6818, allocations: 2.338 MB / 0.7298 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6818, allocations: 0 / 0.7298 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005932/0.6878, allocations: 1.072 MB / 0.7308 GB, free: 224 kB / 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.0006488/0.6884, allocations: 154.9 kB / 0.731 GB, free: 56 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.297/0.9854, allocations: 4.257 MB / 0.7351 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/0.9854, allocations: 1 kB / 0.7351 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.9866, allocations: 0.8754 MB / 0.736 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002139/0.9887, allocations: 348.6 kB / 0.7363 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/1.002, allocations: 8.382 MB / 0.7445 GB, free: 152 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003095/1.005, allocations: 3.166 MB / 0.7476 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004182/1.009, allocations: 2.225 MB / 0.7498 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005082/1.01, allocations: 221.4 kB / 0.75 GB, free: 148 MB / 0.5606 GB Notification: Performance of SimCode: time 1.903e-06/1.01, allocations: 0 / 0.75 GB, free: 148 MB / 0.5606 GB Notification: Performance of Templates: time 0.04303/1.053, allocations: 23.55 MB / 0.773 GB, free: 124.7 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.919059727340937]