Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.00133/0.00133, allocations: 69.48 kB / 21.24 MB, free: 0.5547 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.001449/0.001449, allocations: 159.4 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.46/1.46, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2339/0.2339, allocations: 34.28 MB / 295.5 MB, free: 14.55 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003287/0.003287, allocations: 67.88 kB / 443.2 MB, free: 6.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3543, allocations: 66 MB / 0.4972 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.009185/0.3635, allocations: 10.39 MB / 0.5074 GB, free: 23.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007326/0.3708, allocations: 3.901 MB / 0.5112 GB, free: 20.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002223/0.373, allocations: 84.47 kB / 0.5113 GB, free: 20.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003237/0.3762, allocations: 1.638 MB / 0.5129 GB, free: 19.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004205/0.3804, allocations: 1.568 MB / 0.5144 GB, free: 19.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002756/0.3832, allocations: 1.151 MB / 0.5155 GB, free: 18.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006834/0.39, allocations: 3.498 MB / 0.5189 GB, free: 17.44 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004344/0.3944, allocations: 1.982 MB / 0.5209 GB, free: 16.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002999/0.3974, allocations: 1.174 MB / 0.522 GB, free: 16.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003898/0.4013, allocations: 1.656 MB / 0.5236 GB, free: 15.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001316/0.4026, allocations: 240.9 kB / 0.5239 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002579/0.4052, allocations: 0.6214 MB / 0.5245 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002954/0.4081, allocations: 1.588 MB / 0.526 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004263/0.4124, allocations: 1.302 MB / 0.5273 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0109/0.4233, allocations: 6.183 MB / 0.5333 GB, free: 11.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.4233, allocations: 5.312 kB / 0.5333 GB, free: 11.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4233, allocations: 0 / 0.5333 GB, free: 11.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003056/0.4236, allocations: 0 / 0.5333 GB, free: 11.2 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.01195/0.4355, allocations: 4.015 MB / 0.5373 GB, free: 8.289 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4356, allocations: 10.75 kB / 0.5373 GB, free: 8.289 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/0.4459, allocations: 3.021 MB / 0.5402 GB, free: 6.715 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004711/0.4507, allocations: 1.775 MB / 0.5419 GB, free: 5.602 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001994/0.4509, allocations: 191.1 kB / 0.5421 GB, free: 5.508 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001217/0.4521, allocations: 250.3 kB / 0.5424 GB, free: 5.418 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02008/0.4722, allocations: 10.05 MB / 0.5522 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001546/0.4723, allocations: 31.69 kB / 0.5522 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001511/0.4738, allocations: 127.8 kB / 0.5523 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004673/0.4785, allocations: 2.31 MB / 0.5546 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02032/0.4988, allocations: 8.931 MB / 0.5633 GB, free: 1.16 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05397/0.5528, allocations: 35.19 MB / 0.5977 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00603/0.5588, allocations: 2.432 MB / 0.6001 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002024/0.5608, allocations: 1.135 MB / 0.6012 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01021/0.571, allocations: 4.566 MB / 0.6056 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.047e-05/0.5711, allocations: 43.22 kB / 0.6057 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 6.542e-06/0.5711, allocations: 0 / 0.6057 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.008071/0.5792, allocations: 3.431 MB / 0.609 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.5793, allocations: 162.9 kB / 0.6092 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007719/0.587, allocations: 3.756 MB / 0.6128 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002432/0.5873, allocations: 45.69 kB / 0.6129 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003358/0.5906, allocations: 3.337 MB / 0.6161 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001122/0.5917, allocations: 0.6321 MB / 0.6168 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003107/0.5948, allocations: 1.31 MB / 0.618 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002392/0.5951, allocations: 357.9 kB / 0.6184 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00374/0.5988, allocations: 1.957 MB / 0.6203 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007738/0.6066, allocations: 6.104 MB / 0.6263 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01225/0.6188, allocations: 8.788 MB / 0.6348 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002357/0.619, allocations: 40 kB / 0.6349 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01627/0.6353, allocations: 7.702 MB / 0.6424 GB, free: 10.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001957/0.6355, allocations: 71.94 kB / 0.6425 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002588/0.6358, allocations: 148 kB / 0.6426 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002706/0.636, allocations: 192 kB / 0.6428 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005251/0.6413, allocations: 1.454 MB / 0.6442 GB, free: 8.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002968/0.6416, allocations: 290.9 kB / 0.6445 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00556/0.6472, allocations: 0.9078 MB / 0.6454 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001209/0.6484, allocations: 396.3 kB / 0.6458 GB, free: 7.234 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.005101/0.6535, allocations: 2.196 MB / 0.6479 GB, free: 5.027 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006846/0.6542, allocations: 305.9 kB / 0.6482 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.6552, allocations: 380.4 kB / 0.6485 GB, free: 4.348 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.661e-05/0.6553, allocations: 32 kB / 0.6486 GB, free: 4.316 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/0.6553, allocations: 8 kB / 0.6486 GB, free: 4.309 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.6553, allocations: 7.969 kB / 0.6486 GB, free: 4.301 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/0.666, allocations: 4.37 MB / 0.6529 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-05/0.666, allocations: 8.656 kB / 0.6529 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.667, allocations: 207.6 kB / 0.6531 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.199e-05/0.667, allocations: 19.98 kB / 0.6531 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/0.6671, allocations: 27.98 kB / 0.6531 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.991e-05/0.6671, allocations: 19.88 kB / 0.6531 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/0.6671, allocations: 7.938 kB / 0.6531 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003437/0.6706, allocations: 2.516 MB / 0.6556 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007199/0.6713, allocations: 285.6 kB / 0.6559 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005143/0.6718, allocations: 24 kB / 0.6559 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/0.6731, allocations: 71.84 kB / 0.656 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.6733, allocations: 84.19 kB / 0.656 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.6734, allocations: 44 kB / 0.6561 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004222/0.6777, allocations: 2.095 MB / 0.6581 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6777, allocations: 0 / 0.6581 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006993/0.6846, allocations: 1.102 MB / 0.6592 GB, free: 9.242 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.0008112/0.6855, allocations: 158.9 kB / 0.6594 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009304/0.6948, allocations: 4.256 MB / 0.6635 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/0.6948, allocations: 4 kB / 0.6635 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001563/0.6963, allocations: 0.8735 MB / 0.6644 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002673/0.699, allocations: 291.5 kB / 0.6647 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02013/0.7191, allocations: 8.355 MB / 0.6728 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007402/0.7265, allocations: 2.608 MB / 0.6754 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006095/0.7326, allocations: 2.194 MB / 0.6775 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007958/0.7334, allocations: 212.5 kB / 0.6777 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of SimCode: time 1.122e-06/0.7334, allocations: 0 / 0.6777 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of Templates: time 0.04841/0.7818, allocations: 16.91 MB / 0.6942 GB, free: 5.664 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.734580079908483]