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.001355/0.001355, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001416/0.001416, allocations: 216.4 kB / 24.48 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.497/1.497, allocations: 230.6 MB / 258.2 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.2232/0.2232, allocations: 46.97 MB / 361.6 MB, free: 4.043 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.002166/0.002166, allocations: 79.86 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3263, allocations: 66.03 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01343/0.3398, allocations: 10.4 MB / 0.572 GB, free: 9.727 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008194/0.348, allocations: 3.895 MB / 0.5758 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001546/0.3495, allocations: 87.69 kB / 0.5759 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003384/0.3529, allocations: 1.635 MB / 0.5774 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00385/0.3568, allocations: 1.565 MB / 0.579 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.3591, allocations: 1.149 MB / 0.5801 GB, free: 1.371 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004772/0.3639, allocations: 3.505 MB / 0.5835 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00255/0.3664, allocations: 1.999 MB / 0.5855 GB, free: 11.81 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001594/0.368, allocations: 1.172 MB / 0.5866 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002122/0.3701, allocations: 1.732 MB / 0.5883 GB, free: 8.895 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004729/0.3706, allocations: 240 kB / 0.5885 GB, free: 8.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.3719, allocations: 0.6202 MB / 0.5891 GB, free: 8.039 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001476/0.3733, allocations: 1.593 MB / 0.5907 GB, free: 6.441 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001369/0.3747, allocations: 1.303 MB / 0.592 GB, free: 5.129 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006729/0.3814, allocations: 6.177 MB / 0.598 GB, free: 14.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3814, allocations: 0 / 0.598 GB, free: 14.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3814, allocations: 0 / 0.598 GB, free: 14.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001101/0.3815, allocations: 4 kB / 0.598 GB, free: 14.92 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.0066/0.3881, allocations: 4.015 MB / 0.6019 GB, free: 10.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.3882, allocations: 12.03 kB / 0.6019 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009661/0.3979, allocations: 2.993 MB / 0.6049 GB, free: 7.836 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004473/0.4023, allocations: 1.763 MB / 0.6066 GB, free: 6.039 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/0.4025, allocations: 197.1 kB / 0.6068 GB, free: 5.844 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006171/0.4031, allocations: 259.7 kB / 0.607 GB, free: 5.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01521/0.4183, allocations: 10.03 MB / 0.6168 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.151e-05/0.4184, allocations: 31.69 kB / 0.6168 GB, free: 10.87 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003915/0.4188, allocations: 123.8 kB / 0.617 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003648/0.4224, allocations: 2.317 MB / 0.6192 GB, free: 8.426 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01567/0.4381, allocations: 8.906 MB / 0.6279 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04805/0.4861, allocations: 35.04 MB / 0.6621 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005474/0.4916, allocations: 2.354 MB / 0.6644 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001683/0.4933, allocations: 1.14 MB / 0.6656 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009525/0.5028, allocations: 4.457 MB / 0.6699 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.002e-05/0.5029, allocations: 51.16 kB / 0.67 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 5.7e-06/0.5029, allocations: 0 / 0.67 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.007437/0.5103, allocations: 3.317 MB / 0.6732 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.5104, allocations: 170.8 kB / 0.6734 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005178/0.5156, allocations: 3.752 MB / 0.677 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001751/0.5158, allocations: 45.61 kB / 0.6771 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002551/0.5183, allocations: 3.337 MB / 0.6803 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007803/0.5191, allocations: 0.6321 MB / 0.6809 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0017/0.5208, allocations: 1.318 MB / 0.6822 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.521, allocations: 353.9 kB / 0.6826 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002995/0.524, allocations: 1.953 MB / 0.6845 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006478/0.5305, allocations: 6.108 MB / 0.6904 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01076/0.5412, allocations: 8.781 MB / 0.699 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001497/0.5414, allocations: 44 kB / 0.6991 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01442/0.5558, allocations: 7.694 MB / 0.7066 GB, free: 9.477 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.5559, allocations: 68 kB / 0.7066 GB, free: 9.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001759/0.5561, allocations: 152.8 kB / 0.7068 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001967/0.5563, allocations: 192 kB / 0.707 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004662/0.561, allocations: 1.466 MB / 0.7084 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002404/0.5612, allocations: 291.3 kB / 0.7087 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004168/0.5654, allocations: 0.8996 MB / 0.7096 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006299/0.566, allocations: 396 kB / 0.7099 GB, free: 6.031 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.003218/0.5692, allocations: 2.195 MB / 0.7121 GB, free: 3.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005121/0.5697, allocations: 297.9 kB / 0.7124 GB, free: 3.527 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006925/0.5704, allocations: 396.2 kB / 0.7127 GB, free: 3.133 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.875e-05/0.5705, allocations: 39.98 kB / 0.7128 GB, free: 3.094 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/0.5705, allocations: 7.984 kB / 0.7128 GB, free: 3.086 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.5705, allocations: 3.984 kB / 0.7128 GB, free: 3.082 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008161/0.5787, allocations: 4.332 MB / 0.717 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.5787, allocations: 4 kB / 0.717 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009657/0.5796, allocations: 207.7 kB / 0.7172 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.491e-05/0.5797, allocations: 8 kB / 0.7172 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-05/0.5797, allocations: 31.98 kB / 0.7173 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.21e-05/0.5798, allocations: 11.94 kB / 0.7173 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/0.5798, allocations: 11.94 kB / 0.7173 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003171/0.5829, allocations: 2.525 MB / 0.7197 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006088/0.5835, allocations: 281.6 kB / 0.72 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002878/0.5838, allocations: 23.98 kB / 0.72 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009639/0.5848, allocations: 67.86 kB / 0.7201 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/0.585, allocations: 88.23 kB / 0.7202 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.5851, allocations: 40 kB / 0.7202 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003184/0.5883, allocations: 2.095 MB / 0.7223 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5883, allocations: 0 / 0.7223 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004776/0.5931, allocations: 1.102 MB / 0.7233 GB, free: 8.074 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.0003654/0.5934, allocations: 154.9 kB / 0.7235 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006872/0.6003, allocations: 4.255 MB / 0.7276 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.6003, allocations: 0 / 0.7276 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.6015, allocations: 0.8749 MB / 0.7285 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.6033, allocations: 290.6 kB / 0.7288 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2592/0.8625, allocations: 8.342 MB / 0.7369 GB, free: 153 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00273/0.8653, allocations: 2.622 MB / 0.7395 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003838/0.8691, allocations: 2.188 MB / 0.7416 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004774/0.8696, allocations: 207.6 kB / 0.7418 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.413e-06/0.8696, allocations: 1.5 kB / 0.7418 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.0418/0.9114, allocations: 23.7 MB / 0.765 GB, free: 131.8 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 -s gbode -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.403633035006351]