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.001647/0.001647, allocations: 119.6 kB / 20.44 MB, free: 1.297 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.001867/0.001867, allocations: 214.5 kB / 23.74 MB, free: 4.527 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.554/1.554, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2553/0.2553, allocations: 46.93 MB / 360.8 MB, free: 4.273 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.002151/0.002151, allocations: 63.89 kB / 0.4966 GB, free: 7.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.404, allocations: 66.03 MB / 0.5611 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01447/0.4184, allocations: 12.02 MB / 0.5728 GB, free: 8.332 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009444/0.4279, allocations: 4.105 MB / 0.5769 GB, free: 4.215 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002758/0.4307, allocations: 87.69 kB / 0.5769 GB, free: 4.129 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003678/0.4343, allocations: 1.705 MB / 0.5786 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004646/0.439, allocations: 1.561 MB / 0.5801 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002729/0.4417, allocations: 1.204 MB / 0.5813 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006035/0.4477, allocations: 3.51 MB / 0.5847 GB, free: 12.13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003065/0.4508, allocations: 1.992 MB / 0.5867 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001869/0.4527, allocations: 1.172 MB / 0.5878 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002438/0.4551, allocations: 1.736 MB / 0.5895 GB, free: 7.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005253/0.4556, allocations: 236 kB / 0.5897 GB, free: 6.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.4571, allocations: 0.7372 MB / 0.5905 GB, free: 6.191 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001613/0.4588, allocations: 1.589 MB / 0.592 GB, free: 4.598 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002231/0.461, allocations: 1.855 MB / 0.5938 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00747/0.4685, allocations: 6.156 MB / 0.5998 GB, free: 12.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4685, allocations: 0 / 0.5998 GB, free: 12.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4685, allocations: 4 kB / 0.5998 GB, free: 12.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001138/0.4686, allocations: 0 / 0.5998 GB, free: 12.54 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.008911/0.4775, allocations: 4.007 MB / 0.6038 GB, free: 8.477 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.54e-05/0.4776, allocations: 12.03 kB / 0.6038 GB, free: 8.465 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009697/0.4873, allocations: 3.001 MB / 0.6067 GB, free: 5.457 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005037/0.4923, allocations: 1.755 MB / 0.6084 GB, free: 3.668 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002116/0.4925, allocations: 193.1 kB / 0.6086 GB, free: 3.477 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001056/0.4936, allocations: 247.8 kB / 0.6088 GB, free: 3.234 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01831/0.5119, allocations: 10.04 MB / 0.6186 GB, free: 8.535 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000125/0.512, allocations: 31.69 kB / 0.6187 GB, free: 8.504 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008374/0.5128, allocations: 127.8 kB / 0.6188 GB, free: 8.379 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003988/0.5168, allocations: 2.306 MB / 0.621 GB, free: 6.07 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0189/0.5357, allocations: 8.921 MB / 0.6298 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0614/0.5971, allocations: 37.49 MB / 0.6664 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006071/0.6032, allocations: 2.343 MB / 0.6686 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002183/0.6054, allocations: 1.139 MB / 0.6698 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01065/0.616, allocations: 4.708 MB / 0.6744 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.678e-05/0.6161, allocations: 55.03 kB / 0.6744 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 1.166e-05/0.6161, allocations: 4 kB / 0.6744 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=150): time 0.007876/0.624, allocations: 3.34 MB / 0.6777 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.6241, allocations: 174.8 kB / 0.6778 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008069/0.6322, allocations: 3.841 MB / 0.6816 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002996/0.6325, allocations: 41.7 kB / 0.6816 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003691/0.6362, allocations: 3.317 MB / 0.6849 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001128/0.6373, allocations: 0.6321 MB / 0.6855 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002863/0.6402, allocations: 1.31 MB / 0.6868 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.6403, allocations: 301.1 kB / 0.6871 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003627/0.6439, allocations: 1.957 MB / 0.689 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007574/0.6515, allocations: 6.108 MB / 0.6949 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01309/0.6646, allocations: 8.788 MB / 0.7035 GB, free: 12.11 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002631/0.6649, allocations: 44.25 kB / 0.7036 GB, free: 12.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01873/0.6836, allocations: 7.718 MB / 0.7111 GB, free: 4.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002098/0.6838, allocations: 75.88 kB / 0.7112 GB, free: 4.266 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003028/0.6841, allocations: 148 kB / 0.7113 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003007/0.6844, allocations: 192 kB / 0.7115 GB, free: 3.934 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005341/0.6897, allocations: 1.454 MB / 0.7129 GB, free: 2.477 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003288/0.6901, allocations: 287.4 kB / 0.7132 GB, free: 2.195 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006178/0.6963, allocations: 0.9384 MB / 0.7141 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001488/0.6977, allocations: 396 kB / 0.7145 GB, free: 0.8633 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.005978/0.7037, allocations: 2.199 MB / 0.7166 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009591/0.7047, allocations: 329.7 kB / 0.7169 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.706, allocations: 403.1 kB / 0.7173 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.105e-05/0.7061, allocations: 39.98 kB / 0.7174 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.568e-05/0.7061, allocations: 4 kB / 0.7174 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/0.7062, allocations: 11.92 kB / 0.7174 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01365/0.7198, allocations: 5.438 MB / 0.7227 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-05/0.7198, allocations: 8 kB / 0.7227 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.7209, allocations: 207.6 kB / 0.7229 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.479e-05/0.7209, allocations: 11.94 kB / 0.7229 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001783/0.7211, allocations: 31.97 kB / 0.7229 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-05/0.7211, allocations: 12 kB / 0.7229 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/0.7211, allocations: 11.88 kB / 0.723 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004127/0.7253, allocations: 2.554 MB / 0.7255 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/0.7265, allocations: 317.4 kB / 0.7258 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007101/0.7272, allocations: 27.94 kB / 0.7258 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/0.7286, allocations: 71.89 kB / 0.7259 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/0.7288, allocations: 80.25 kB / 0.7259 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/0.7289, allocations: 44 kB / 0.726 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005947/0.7349, allocations: 2.338 MB / 0.7283 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7349, allocations: 4 kB / 0.7283 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007022/0.7419, allocations: 1.064 MB / 0.7293 GB, free: 1.469 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.0006928/0.7426, allocations: 154.9 kB / 0.7294 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.3437/1.086, allocations: 4.256 MB / 0.7336 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/1.086, allocations: 0 / 0.7336 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001273/1.088, allocations: 0.8713 MB / 0.7345 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/1.09, allocations: 370.6 kB / 0.7348 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/1.102, allocations: 8.384 MB / 0.743 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002616/1.105, allocations: 3.163 MB / 0.7461 GB, free: 150 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003973/1.109, allocations: 2.223 MB / 0.7483 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005063/1.109, allocations: 226.5 kB / 0.7485 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/1.109, allocations: 0 / 0.7485 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.04934/1.158, allocations: 26.39 MB / 0.7742 GB, free: 122.5 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: 7.6302552570123225]