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.001396/0.001396, allocations: 83.03 kB / 20.52 MB, free: 1.277 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.001636/0.001636, allocations: 168 kB / 23.76 MB, free: 4.461 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.329/1.329, allocations: 158.6 MB / 185.5 MB, free: 6.203 MB / 174.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.207/0.207, allocations: 32.38 MB / 270.1 MB, free: 2.695 MB / 254.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.89 kB / 407.7 MB, free: 5.535 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1323, allocations: 61.04 MB / 468.8 MB, free: 8.312 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.277/0.4093, allocations: 10.83 MB / 479.6 MB, free: 43.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006963/0.4163, allocations: 3.891 MB / 483.5 MB, free: 43.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.4177, allocations: 89.84 kB / 483.6 MB, free: 43.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002643/0.4203, allocations: 1.656 MB / 485.2 MB, free: 42.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002978/0.4233, allocations: 1.641 MB / 486.9 MB, free: 41.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.4251, allocations: 1.156 MB / 488 MB, free: 41.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003277/0.4284, allocations: 3.61 MB / 491.7 MB, free: 40.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001732/0.4301, allocations: 2.068 MB / 493.7 MB, free: 39.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.4312, allocations: 1.242 MB / 495 MB, free: 38.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001652/0.4329, allocations: 1.762 MB / 496.7 MB, free: 38.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004202/0.4333, allocations: 254.7 kB / 497 MB, free: 38.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.4343, allocations: 0.6266 MB / 497.6 MB, free: 37.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009745/0.4353, allocations: 1.697 MB / 499.3 MB, free: 37.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001062/0.4364, allocations: 1.395 MB / 0.489 GB, free: 36.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006041/0.4424, allocations: 6.572 MB / 0.4954 GB, free: 33.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4424, allocations: 0 / 0.4954 GB, free: 33.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.4424, allocations: 1.75 kB / 0.4954 GB, free: 33.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001887/0.4426, allocations: 4 kB / 0.4954 GB, free: 33.91 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: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.00754/0.4502, allocations: 4.233 MB / 0.4995 GB, free: 31.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.4502, allocations: 9.719 kB / 0.4995 GB, free: 31.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/0.4612, allocations: 3.078 MB / 0.5025 GB, free: 30.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004696/0.4659, allocations: 1.837 MB / 0.5043 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/0.466, allocations: 203.8 kB / 0.5045 GB, free: 29.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008506/0.4669, allocations: 265.2 kB / 0.5048 GB, free: 29.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01954/0.4864, allocations: 10.53 MB / 0.515 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002006/0.4866, allocations: 28.75 kB / 0.5151 GB, free: 24.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001254/0.4879, allocations: 131.9 kB / 0.5152 GB, free: 24.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004211/0.4921, allocations: 2.444 MB / 0.5176 GB, free: 23.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01655/0.5086, allocations: 9.343 MB / 0.5267 GB, free: 17.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04917/0.5578, allocations: 36.25 MB / 0.5621 GB, free: 12.42 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005985/0.5638, allocations: 2.517 MB / 0.5646 GB, free: 9.848 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001913/0.5657, allocations: 1.173 MB / 0.5657 GB, free: 8.66 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00987/0.5756, allocations: 4.844 MB / 0.5704 GB, free: 3.777 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/0.5756, allocations: 53.22 kB / 0.5705 GB, free: 3.719 MB / 478.1 MB Notification: Performance of pre-optimization done (n=153): time 5.41e-06/0.5756, allocations: 0 / 0.5705 GB, free: 3.719 MB / 478.1 MB Notification: Performance of matching and sorting (n=153): time 0.007702/0.5833, allocations: 3.446 MB / 0.5739 GB, free: 276 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/0.5835, allocations: 170.8 kB / 0.574 GB, free: 68 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006035/0.5895, allocations: 3.871 MB / 0.5778 GB, free: 12.19 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000169/0.5897, allocations: 49.64 kB / 0.5779 GB, free: 12.13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003027/0.5927, allocations: 3.496 MB / 0.5813 GB, free: 8.602 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000847/0.5935, allocations: 0.6437 MB / 0.5819 GB, free: 7.953 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001873/0.5954, allocations: 1.357 MB / 0.5832 GB, free: 6.586 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.5956, allocations: 357.9 kB / 0.5836 GB, free: 6.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003253/0.5989, allocations: 2 MB / 0.5855 GB, free: 4.227 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008363/0.6072, allocations: 6.307 MB / 0.5917 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01316/0.6204, allocations: 9.053 MB / 0.6005 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001718/0.6206, allocations: 48 kB / 0.6006 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=877) (initialization): time 0.0173/0.6379, allocations: 7.925 MB / 0.6083 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002016/0.6381, allocations: 72 kB / 0.6084 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003124/0.6384, allocations: 152 kB / 0.6085 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003203/0.6387, allocations: 200 kB / 0.6087 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005494/0.6442, allocations: 1.509 MB / 0.6102 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003248/0.6445, allocations: 298.9 kB / 0.6105 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005633/0.6501, allocations: 0.9269 MB / 0.6114 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001148/0.6513, allocations: 415.9 kB / 0.6118 GB, free: 5.035 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.004813/0.6561, allocations: 2.288 MB / 0.614 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000694/0.6568, allocations: 305.9 kB / 0.6143 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.6578, allocations: 397.4 kB / 0.6147 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.425e-05/0.6579, allocations: 31.98 kB / 0.6147 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.6579, allocations: 4 kB / 0.6147 GB, free: 2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.6579, allocations: 3.984 kB / 0.6147 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/0.6686, allocations: 4.551 MB / 0.6192 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.732e-05/0.6687, allocations: 4.75 kB / 0.6192 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.6697, allocations: 211.9 kB / 0.6194 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.309e-05/0.6697, allocations: 12 kB / 0.6194 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/0.6699, allocations: 35.92 kB / 0.6194 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-05/0.6699, allocations: 19.92 kB / 0.6194 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.497e-06/0.6699, allocations: 11.94 kB / 0.6194 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003707/0.6736, allocations: 2.562 MB / 0.6219 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008094/0.6744, allocations: 285.5 kB / 0.6222 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005342/0.675, allocations: 31.92 kB / 0.6222 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/0.6763, allocations: 71.92 kB / 0.6223 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/0.6765, allocations: 92.16 kB / 0.6224 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/0.6766, allocations: 44 kB / 0.6224 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004447/0.681, allocations: 2.16 MB / 0.6245 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.71e-07/0.681, allocations: 0 / 0.6245 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006317/0.6873, allocations: 1.165 MB / 0.6257 GB, free: 6.551 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.0005861/0.6879, allocations: 162.8 kB / 0.6258 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008791/0.6967, allocations: 4.37 MB / 0.6301 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/0.6967, allocations: 0 / 0.6301 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001538/0.6983, allocations: 0.8865 MB / 0.631 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00279/0.7011, allocations: 293.7 kB / 0.6313 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01971/0.7208, allocations: 8.71 MB / 0.6398 GB, free: 8.039 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006194/0.727, allocations: 2.731 MB / 0.6424 GB, free: 5.277 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006063/0.733, allocations: 2.246 MB / 0.6446 GB, free: 3.027 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008801/0.7339, allocations: 216.5 kB / 0.6448 GB, free: 2.816 MB / 0.545 GB Notification: Performance of SimCode: time 1.252e-06/0.7339, allocations: 0 / 0.6448 GB, free: 2.816 MB / 0.545 GB Notification: Performance of Templates: time 0.04896/0.7829, allocations: 17.24 MB / 0.6617 GB, free: 1.637 MB / 0.5606 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 -s ida -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: 6.436224019038491]