Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 107.1 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 192 kB / 22.98 MB, free: 5.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 251.6 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2278/0.2278, allocations: 44.92 MB / 351.6 MB, free: 12.19 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 63.89 kB / 495.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.415, allocations: 64.25 MB / 0.5464 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01645/0.4315, allocations: 12.15 MB / 0.5582 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.4418, allocations: 4.066 MB / 0.5622 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002843/0.4446, allocations: 79.88 kB / 0.5623 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003861/0.4485, allocations: 1.709 MB / 0.5639 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004429/0.4529, allocations: 1.584 MB / 0.5655 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002807/0.4557, allocations: 1.212 MB / 0.5667 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00562/0.4614, allocations: 3.514 MB / 0.5701 GB, free: 7.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002559/0.4639, allocations: 1.821 MB / 0.5719 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/0.4657, allocations: 1.176 MB / 0.573 GB, free: 4.383 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002393/0.4681, allocations: 1.76 MB / 0.5748 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005907/0.4687, allocations: 240 kB / 0.575 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.4702, allocations: 0.7372 MB / 0.5757 GB, free: 1.645 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001685/0.4718, allocations: 1.647 MB / 0.5773 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00254/0.4744, allocations: 1.917 MB / 0.5792 GB, free: 14.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009234/0.4836, allocations: 6.317 MB / 0.5854 GB, free: 7.719 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.4836, allocations: 0 / 0.5854 GB, free: 7.719 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.218e-06/0.4836, allocations: 4 kB / 0.5854 GB, free: 7.715 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001567/0.4838, allocations: 0 / 0.5854 GB, free: 7.715 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.008882/0.4927, allocations: 4.191 MB / 0.5895 GB, free: 3.445 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.4927, allocations: 8.031 kB / 0.5895 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009755/0.5025, allocations: 3.024 MB / 0.5924 GB, free: 416 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004329/0.5068, allocations: 1.843 MB / 0.5942 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.507, allocations: 193.2 kB / 0.5944 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005786/0.5075, allocations: 251.8 kB / 0.5946 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01686/0.5244, allocations: 10.23 MB / 0.6046 GB, free: 3.184 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.432e-05/0.5245, allocations: 31.69 kB / 0.6047 GB, free: 3.152 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004118/0.5249, allocations: 127.8 kB / 0.6048 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003802/0.5287, allocations: 2.372 MB / 0.6071 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01662/0.5453, allocations: 9.078 MB / 0.616 GB, free: 7.562 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05172/0.597, allocations: 38.04 MB / 0.6531 GB, free: 400 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005773/0.6028, allocations: 3.262 MB / 0.6563 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001777/0.6046, allocations: 1.132 MB / 0.6574 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008934/0.6135, allocations: 5.188 MB / 0.6625 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/0.6136, allocations: 51.06 kB / 0.6625 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 4.168e-06/0.6136, allocations: 0 / 0.6625 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.007001/0.6206, allocations: 3.351 MB / 0.6658 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.6207, allocations: 166.8 kB / 0.6659 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005692/0.6264, allocations: 3.878 MB / 0.6697 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001387/0.6265, allocations: 41.7 kB / 0.6698 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002544/0.6291, allocations: 3.368 MB / 0.6731 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006662/0.6297, allocations: 0.6321 MB / 0.6737 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001656/0.6314, allocations: 1.326 MB / 0.675 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.6315, allocations: 309.1 kB / 0.6753 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002792/0.6343, allocations: 1.961 MB / 0.6772 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006404/0.6407, allocations: 6.164 MB / 0.6832 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01169/0.6524, allocations: 8.845 MB / 0.6918 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001549/0.6525, allocations: 44 kB / 0.6919 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01637/0.6689, allocations: 7.773 MB / 0.6995 GB, free: 12.17 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.669, allocations: 70.5 kB / 0.6995 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001921/0.6692, allocations: 148 kB / 0.6997 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002069/0.6694, allocations: 196 kB / 0.6999 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004932/0.6744, allocations: 1.466 MB / 0.7013 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000309/0.6747, allocations: 294.8 kB / 0.7016 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006113/0.6808, allocations: 0.9427 MB / 0.7025 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001267/0.682, allocations: 408 kB / 0.7029 GB, free: 8.66 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.arrowLine.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 (797): * Single equations (assignments): 789 * 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.005184/0.6872, allocations: 2.23 MB / 0.7051 GB, free: 6.414 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/0.6883, allocations: 325.8 kB / 0.7054 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.6895, allocations: 411.4 kB / 0.7058 GB, free: 5.688 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.171e-05/0.6896, allocations: 43.92 kB / 0.7058 GB, free: 5.645 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.751e-05/0.6896, allocations: 0 / 0.7058 GB, free: 5.645 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-05/0.6896, allocations: 7.984 kB / 0.7058 GB, free: 5.637 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/0.7024, allocations: 5.54 MB / 0.7112 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/0.7024, allocations: 8 kB / 0.7112 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009782/0.7034, allocations: 203.7 kB / 0.7114 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-05/0.7034, allocations: 12 kB / 0.7114 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.7035, allocations: 31.89 kB / 0.7115 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.559e-05/0.7036, allocations: 11.94 kB / 0.7115 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.333e-06/0.7036, allocations: 8 kB / 0.7115 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003437/0.707, allocations: 2.554 MB / 0.714 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008655/0.7079, allocations: 386.5 kB / 0.7144 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000294/0.7082, allocations: 28 kB / 0.7144 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009261/0.7091, allocations: 67.89 kB / 0.7144 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/0.7093, allocations: 76.36 kB / 0.7145 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.7094, allocations: 51.92 kB / 0.7146 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003889/0.7133, allocations: 2.354 MB / 0.7169 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.7133, allocations: 0 / 0.7169 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005282/0.7186, allocations: 1.118 MB / 0.718 GB, free: 8.984 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.0004183/0.719, allocations: 158.9 kB / 0.7181 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00724/0.7262, allocations: 4.276 MB / 0.7223 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-05/0.7262, allocations: 4 kB / 0.7223 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.7275, allocations: 0.8712 MB / 0.7231 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/0.7296, allocations: 372.4 kB / 0.7235 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3159/1.046, allocations: 8.502 MB / 0.7318 GB, free: 161 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006289/1.052, allocations: 3.214 MB / 0.7349 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005714/1.058, allocations: 2.236 MB / 0.7371 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006788/1.058, allocations: 224.2 kB / 0.7373 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.573e-06/1.058, allocations: 0 / 0.7373 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.04862/1.107, allocations: 23.96 MB / 0.7607 GB, free: 141.5 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.992987776175141]