Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 100.4 kB / 20.45 MB, free: 1.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 203.8 kB / 23.74 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 207.7 MB / 234.6 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2634/0.2634, allocations: 44.26 MB / 331.1 MB, free: 9.395 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002316/0.002316, allocations: 71.91 kB / 468.7 MB, free: 3.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1416, allocations: 61.04 MB / 0.5174 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01452/0.1561, allocations: 10.83 MB / 0.5279 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.1662, allocations: 3.892 MB / 0.5317 GB, free: 7.898 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002836/0.1691, allocations: 91.69 kB / 0.5318 GB, free: 7.809 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003866/0.1729, allocations: 1.647 MB / 0.5334 GB, free: 6.156 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004863/0.1778, allocations: 1.646 MB / 0.535 GB, free: 4.504 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002544/0.1803, allocations: 1.157 MB / 0.5362 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.3233/0.5036, allocations: 3.612 MB / 0.5397 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003615/0.5072, allocations: 2.06 MB / 0.5417 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002726/0.5099, allocations: 1.236 MB / 0.5429 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003911/0.5138, allocations: 1.761 MB / 0.5446 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009916/0.5148, allocations: 254 kB / 0.5449 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.5169, allocations: 0.6241 MB / 0.5455 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002446/0.5194, allocations: 1.697 MB / 0.5472 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002614/0.522, allocations: 1.395 MB / 0.5485 GB, free: 9.613 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01114/0.5331, allocations: 6.571 MB / 0.5549 GB, free: 8.496 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.5331, allocations: 0 / 0.5549 GB, free: 8.496 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.5331, allocations: 3.781 kB / 0.5549 GB, free: 8.496 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002959/0.5334, allocations: 0 / 0.5549 GB, free: 8.496 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.01453/0.548, allocations: 4.238 MB / 0.5591 GB, free: 6.262 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.548, allocations: 9.25 kB / 0.5591 GB, free: 6.262 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01167/0.5597, allocations: 3.037 MB / 0.562 GB, free: 5.863 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007328/0.567, allocations: 1.836 MB / 0.5638 GB, free: 5.047 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004332/0.5674, allocations: 201.2 kB / 0.564 GB, free: 4.996 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002139/0.5696, allocations: 257.5 kB / 0.5643 GB, free: 4.953 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02798/0.5976, allocations: 10.53 MB / 0.5746 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000329/0.5979, allocations: 34.44 kB / 0.5746 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002332/0.6002, allocations: 130.3 kB / 0.5747 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005051/0.6053, allocations: 2.442 MB / 0.5771 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02394/0.6292, allocations: 9.355 MB / 0.5862 GB, free: 9.395 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06686/0.6961, allocations: 36.1 MB / 0.6215 GB, free: 4.719 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006326/0.7024, allocations: 2.431 MB / 0.6239 GB, free: 2.254 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002036/0.7044, allocations: 1.171 MB / 0.625 GB, free: 1.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01106/0.7155, allocations: 4.736 MB / 0.6296 GB, free: 12.34 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.306e-05/0.7156, allocations: 50.5 kB / 0.6297 GB, free: 12.28 MB / 478.1 MB Notification: Performance of pre-optimization done (n=153): time 5.74e-06/0.7156, allocations: 0 / 0.6297 GB, free: 12.28 MB / 478.1 MB Notification: Performance of matching and sorting (n=153): time 0.007673/0.7232, allocations: 3.348 MB / 0.633 GB, free: 8.945 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.7234, allocations: 169.9 kB / 0.6331 GB, free: 8.746 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007137/0.7305, allocations: 3.871 MB / 0.6369 GB, free: 4.867 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002418/0.7307, allocations: 45.7 kB / 0.6369 GB, free: 4.816 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003344/0.7341, allocations: 3.491 MB / 0.6403 GB, free: 1.348 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001095/0.7352, allocations: 0.6479 MB / 0.641 GB, free: 0.707 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002313/0.7375, allocations: 1.352 MB / 0.6423 GB, free: 15.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002811/0.7378, allocations: 361.9 kB / 0.6426 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003437/0.7412, allocations: 2.004 MB / 0.6446 GB, free: 12.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008/0.7492, allocations: 6.303 MB / 0.6508 GB, free: 4.605 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01499/0.7642, allocations: 9.066 MB / 0.6596 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002289/0.7644, allocations: 44 kB / 0.6597 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01982/0.7842, allocations: 7.931 MB / 0.6674 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001414/0.7844, allocations: 68 kB / 0.6675 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002722/0.7847, allocations: 152 kB / 0.6676 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002356/0.7849, allocations: 200 kB / 0.6678 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005402/0.7903, allocations: 1.509 MB / 0.6693 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003265/0.7906, allocations: 298.8 kB / 0.6696 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006344/0.797, allocations: 0.93 MB / 0.6705 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001351/0.7983, allocations: 412 kB / 0.6709 GB, free: 14.3 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 698 * Number of states: 0 () * Number of discrete variables: 21 (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 (819): * Single equations (assignments): 811 * 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.006555/0.8049, allocations: 2.287 MB / 0.6731 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007054/0.8056, allocations: 305.9 kB / 0.6734 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009416/0.8065, allocations: 398.4 kB / 0.6738 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.66e-05/0.8066, allocations: 35.98 kB / 0.6738 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.648e-05/0.8066, allocations: 0 / 0.6738 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/0.8066, allocations: 7.984 kB / 0.6738 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/0.8168, allocations: 4.512 MB / 0.6782 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/0.8168, allocations: 8.156 kB / 0.6782 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009973/0.8178, allocations: 211.7 kB / 0.6784 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-05/0.8179, allocations: 12 kB / 0.6784 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.083e-05/0.818, allocations: 24 kB / 0.6785 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.01e-05/0.818, allocations: 21.11 kB / 0.6785 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/0.818, allocations: 8 kB / 0.6785 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003758/0.8217, allocations: 2.566 MB / 0.681 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008994/0.8226, allocations: 289.5 kB / 0.6813 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003015/0.8229, allocations: 35.83 kB / 0.6813 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009944/0.8239, allocations: 63.92 kB / 0.6814 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.8241, allocations: 96.11 kB / 0.6815 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.8242, allocations: 44 kB / 0.6815 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004037/0.8283, allocations: 2.157 MB / 0.6836 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.8283, allocations: 3.938 kB / 0.6836 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006277/0.8345, allocations: 1.164 MB / 0.6847 GB, free: 15.89 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (111): * Single equations (assignments): 105 * 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.0004547/0.835, allocations: 166.5 kB / 0.6849 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008376/0.8434, allocations: 4.365 MB / 0.6892 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/0.8434, allocations: 0.8438 kB / 0.6892 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001465/0.8448, allocations: 0.8867 MB / 0.69 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/0.8471, allocations: 296 kB / 0.6903 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02122/0.8684, allocations: 9.209 MB / 0.6993 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004453/0.8728, allocations: 2.748 MB / 0.702 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/0.8739, allocations: 267.4 kB / 0.7022 GB, free: 13.85 MB / 0.545 GB Notification: Performance of SimCode: time 1.182e-06/0.8739, allocations: 0 / 0.7022 GB, free: 13.85 MB / 0.545 GB Notification: Performance of Templates: time 0.1027/0.9766, allocations: 54.95 MB / 0.7559 GB, free: 6.852 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 12.41549337701872]