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.00143/0.00143, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002227/0.002227, allocations: 209 kB / 24.47 MB, free: 3.941 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.515/1.515, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.2425/0.2425, allocations: 46.96 MB / 361.6 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] 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.002119/0.002119, allocations: 71.89 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4173, allocations: 66.03 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01466/0.4319, allocations: 10.39 MB / 0.572 GB, free: 9.727 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.442, allocations: 3.906 MB / 0.5758 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002504/0.4445, allocations: 87.69 kB / 0.5759 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003612/0.4481, allocations: 1.643 MB / 0.5775 GB, free: 4.078 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004163/0.4523, allocations: 1.561 MB / 0.579 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002405/0.4547, allocations: 1.142 MB / 0.5801 GB, free: 1.367 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005059/0.4597, allocations: 3.498 MB / 0.5835 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002735/0.4625, allocations: 1.984 MB / 0.5855 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001923/0.4644, allocations: 1.176 MB / 0.5866 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002695/0.4671, allocations: 1.65 MB / 0.5882 GB, free: 8.988 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006632/0.4677, allocations: 236 kB / 0.5884 GB, free: 8.758 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.4692, allocations: 0.6241 MB / 0.589 GB, free: 8.133 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001941/0.4711, allocations: 1.593 MB / 0.5906 GB, free: 6.535 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001755/0.4729, allocations: 1.307 MB / 0.5919 GB, free: 5.219 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008067/0.4809, allocations: 6.177 MB / 0.5979 GB, free: 15.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.4809, allocations: 0 / 0.5979 GB, free: 15.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4809, allocations: 0 / 0.5979 GB, free: 15.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001695/0.4811, allocations: 4 kB / 0.5979 GB, free: 15.01 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.007324/0.4884, allocations: 4.011 MB / 0.6018 GB, free: 10.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.4885, allocations: 12.03 kB / 0.6018 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01043/0.4989, allocations: 2.993 MB / 0.6048 GB, free: 7.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004928/0.5038, allocations: 1.771 MB / 0.6065 GB, free: 6.125 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002026/0.504, allocations: 197.1 kB / 0.6067 GB, free: 5.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008362/0.5049, allocations: 251.8 kB / 0.6069 GB, free: 5.684 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01795/0.5228, allocations: 10.04 MB / 0.6167 GB, free: 10.99 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.862e-05/0.5229, allocations: 35.67 kB / 0.6168 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003955/0.5233, allocations: 127.8 kB / 0.6169 GB, free: 10.83 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00385/0.5272, allocations: 2.314 MB / 0.6191 GB, free: 8.512 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01695/0.5441, allocations: 8.91 MB / 0.6278 GB, free: 15.6 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04708/0.5912, allocations: 35.04 MB / 0.6621 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005346/0.5965, allocations: 2.343 MB / 0.6643 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00173/0.5983, allocations: 1.14 MB / 0.6655 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00858/0.6068, allocations: 4.457 MB / 0.6698 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/0.6069, allocations: 51.16 kB / 0.6699 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 4.438e-06/0.6069, allocations: 0 / 0.6699 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.007072/0.614, allocations: 3.314 MB / 0.6731 GB, free: 16 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.6141, allocations: 170.8 kB / 0.6733 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005605/0.6197, allocations: 3.752 MB / 0.6769 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001817/0.6199, allocations: 45.69 kB / 0.677 GB, free: 12 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002842/0.6227, allocations: 3.341 MB / 0.6802 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008402/0.6236, allocations: 0.6281 MB / 0.6808 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001917/0.6255, allocations: 1.322 MB / 0.6821 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.6257, allocations: 353.9 kB / 0.6825 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002949/0.6286, allocations: 1.953 MB / 0.6844 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006716/0.6354, allocations: 6.104 MB / 0.6903 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/0.6465, allocations: 8.789 MB / 0.6989 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001581/0.6466, allocations: 48 kB / 0.699 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01401/0.6606, allocations: 7.693 MB / 0.7065 GB, free: 9.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.6607, allocations: 68 kB / 0.7065 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001767/0.6609, allocations: 152.8 kB / 0.7067 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001896/0.6611, allocations: 192 kB / 0.7069 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004362/0.6655, allocations: 1.462 MB / 0.7083 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002577/0.6657, allocations: 286.9 kB / 0.7086 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004256/0.67, allocations: 0.8997 MB / 0.7095 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006047/0.6706, allocations: 396 kB / 0.7098 GB, free: 6.129 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.003573/0.6742, allocations: 2.199 MB / 0.712 GB, free: 3.914 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004964/0.6747, allocations: 298 kB / 0.7123 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006948/0.6754, allocations: 392.3 kB / 0.7126 GB, free: 3.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.943e-05/0.6754, allocations: 36 kB / 0.7127 GB, free: 3.195 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/0.6754, allocations: 0 / 0.7127 GB, free: 3.195 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.6754, allocations: 11.97 kB / 0.7127 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00809/0.6835, allocations: 4.331 MB / 0.7169 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.6835, allocations: 7.938 kB / 0.7169 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009489/0.6845, allocations: 207.7 kB / 0.7171 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.588e-05/0.6845, allocations: 8 kB / 0.7171 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.884e-05/0.6846, allocations: 31.98 kB / 0.7172 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.529e-05/0.6846, allocations: 11.94 kB / 0.7172 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/0.6846, allocations: 11.94 kB / 0.7172 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003295/0.6879, allocations: 2.528 MB / 0.7196 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007056/0.6886, allocations: 281.6 kB / 0.7199 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002627/0.6889, allocations: 23.94 kB / 0.7199 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000941/0.6898, allocations: 71.84 kB / 0.72 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.69, allocations: 84.44 kB / 0.7201 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-05/0.6901, allocations: 40 kB / 0.7201 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003382/0.6935, allocations: 2.099 MB / 0.7222 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.6935, allocations: 0 / 0.7222 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007488/0.701, allocations: 1.102 MB / 0.7233 GB, free: 8.164 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.0008962/0.7019, allocations: 154.9 kB / 0.7234 GB, free: 8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009263/0.7111, allocations: 4.255 MB / 0.7276 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.468e-05/0.7111, allocations: 0 / 0.7276 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00142/0.7126, allocations: 0.8749 MB / 0.7284 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002583/0.7151, allocations: 295.9 kB / 0.7287 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3485/1.064, allocations: 8.827 MB / 0.7373 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003928/1.068, allocations: 2.628 MB / 0.7399 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000963/1.069, allocations: 259.6 kB / 0.7401 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.302e-06/1.069, allocations: 0 / 0.7401 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.07294/1.142, allocations: 52.83 MB / 0.7917 GB, free: 104.1 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/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: 11.996114208362997]