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.001406/0.001406, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001491/0.001491, allocations: 212.4 kB / 23.73 MB, free: 4.387 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.523/1.523, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.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.2313/0.2313, allocations: 46.95 MB / 360.9 MB, free: 4.023 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.003309/0.003309, allocations: 71.88 kB / 0.4966 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3851, allocations: 66.04 MB / 0.5611 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01404/0.3991, allocations: 10.39 MB / 0.5712 GB, free: 9.723 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009791/0.4089, allocations: 3.907 MB / 0.575 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002519/0.4115, allocations: 87.69 kB / 0.5751 GB, free: 5.719 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003561/0.415, allocations: 1.643 MB / 0.5767 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004174/0.4192, allocations: 1.557 MB / 0.5782 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00237/0.4216, allocations: 1.146 MB / 0.5794 GB, free: 1.359 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00503/0.4266, allocations: 3.505 MB / 0.5828 GB, free: 13.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002511/0.4291, allocations: 1.988 MB / 0.5847 GB, free: 11.81 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.4308, allocations: 1.172 MB / 0.5859 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002233/0.4331, allocations: 1.654 MB / 0.5875 GB, free: 8.973 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000506/0.4336, allocations: 236 kB / 0.5877 GB, free: 8.742 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.4349, allocations: 0.628 MB / 0.5883 GB, free: 8.113 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00149/0.4364, allocations: 1.593 MB / 0.5899 GB, free: 6.516 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001473/0.4379, allocations: 1.303 MB / 0.5912 GB, free: 5.203 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00697/0.4448, allocations: 6.173 MB / 0.5972 GB, free: 15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.4448, allocations: 0 / 0.5972 GB, free: 15 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4448, allocations: 0 / 0.5972 GB, free: 15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000156/0.445, allocations: 0 / 0.5972 GB, free: 15 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.007269/0.4523, allocations: 4.019 MB / 0.6011 GB, free: 10.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.4523, allocations: 12.03 kB / 0.6011 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009835/0.4621, allocations: 2.993 MB / 0.604 GB, free: 7.914 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005422/0.4676, allocations: 1.771 MB / 0.6058 GB, free: 6.109 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001953/0.4678, allocations: 193.1 kB / 0.606 GB, free: 5.918 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009244/0.4687, allocations: 251.8 kB / 0.6062 GB, free: 5.672 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01636/0.485, allocations: 10.04 MB / 0.616 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.142e-05/0.4851, allocations: 31.69 kB / 0.616 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004319/0.4856, allocations: 123.8 kB / 0.6161 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003766/0.4893, allocations: 2.318 MB / 0.6184 GB, free: 8.504 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01691/0.5062, allocations: 8.906 MB / 0.6271 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05214/0.5584, allocations: 35.03 MB / 0.6613 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005659/0.564, allocations: 2.346 MB / 0.6636 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001866/0.5659, allocations: 1.141 MB / 0.6647 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00998/0.5759, allocations: 4.465 MB / 0.6691 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/0.5759, allocations: 47.16 kB / 0.6691 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 6.533e-06/0.5759, allocations: 0 / 0.6691 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.00748/0.5834, allocations: 3.314 MB / 0.6724 GB, free: 8 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.5835, allocations: 174.8 kB / 0.6725 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005896/0.5894, allocations: 3.752 MB / 0.6762 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002117/0.5896, allocations: 49.62 kB / 0.6762 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002693/0.5923, allocations: 3.337 MB / 0.6795 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008662/0.5932, allocations: 0.6282 MB / 0.6801 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001977/0.5952, allocations: 1.318 MB / 0.6814 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002794/0.5955, allocations: 349.9 kB / 0.6817 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003347/0.5988, allocations: 1.953 MB / 0.6836 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006785/0.6056, allocations: 6.104 MB / 0.6896 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01129/0.6169, allocations: 8.793 MB / 0.6982 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001927/0.6171, allocations: 44 kB / 0.6982 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.0156/0.6327, allocations: 7.69 MB / 0.7057 GB, free: 9.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.6328, allocations: 68 kB / 0.7058 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002215/0.633, allocations: 159.9 kB / 0.706 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002128/0.6332, allocations: 192 kB / 0.7061 GB, free: 9.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004714/0.6379, allocations: 1.458 MB / 0.7076 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002554/0.6382, allocations: 287.3 kB / 0.7078 GB, free: 7.418 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00472/0.6429, allocations: 0.9 MB / 0.7087 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000806/0.6437, allocations: 400 kB / 0.7091 GB, free: 6.121 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.003584/0.6473, allocations: 2.195 MB / 0.7112 GB, free: 3.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005018/0.6478, allocations: 294 kB / 0.7115 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006956/0.6485, allocations: 388.3 kB / 0.7119 GB, free: 3.234 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-05/0.6486, allocations: 43.97 kB / 0.7119 GB, free: 3.191 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.6486, allocations: 0 / 0.7119 GB, free: 3.191 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.6486, allocations: 7.984 kB / 0.7119 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008015/0.6566, allocations: 4.335 MB / 0.7162 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.6566, allocations: 8.906 kB / 0.7162 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009617/0.6576, allocations: 207.7 kB / 0.7164 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.637e-05/0.6576, allocations: 16 kB / 0.7164 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.292e-05/0.6577, allocations: 28 kB / 0.7164 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.389e-05/0.6577, allocations: 15.92 kB / 0.7164 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.049e-05/0.6577, allocations: 11.94 kB / 0.7164 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003282/0.661, allocations: 2.521 MB / 0.7189 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000646/0.6616, allocations: 281.6 kB / 0.7192 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002662/0.6619, allocations: 23.91 kB / 0.7192 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000945/0.6628, allocations: 71.86 kB / 0.7193 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.663, allocations: 88.23 kB / 0.7194 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-05/0.6631, allocations: 40 kB / 0.7194 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003303/0.6664, allocations: 2.095 MB / 0.7214 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6664, allocations: 0 / 0.7214 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005255/0.6717, allocations: 1.102 MB / 0.7225 GB, free: 8.156 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.0004426/0.6721, allocations: 154.9 kB / 0.7227 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007623/0.6797, allocations: 4.259 MB / 0.7268 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.6797, allocations: 0 / 0.7268 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001305/0.681, allocations: 0.8774 MB / 0.7277 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/0.6829, allocations: 286.1 kB / 0.728 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3139/0.9967, allocations: 8.347 MB / 0.7361 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002784/0.9995, allocations: 2.617 MB / 0.7387 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003759/1.003, allocations: 2.189 MB / 0.7408 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004321/1.004, allocations: 211.2 kB / 0.741 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of SimCode: time 7.62e-07/1.004, allocations: 0 / 0.741 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.03849/1.042, allocations: 20.72 MB / 0.7612 GB, free: 134.9 MB / 0.5606 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 -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/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_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.91172262839973]