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.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.001975/0.001975, allocations: 99.64 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.002606/0.002606, allocations: 209 kB / 24.48 MB, free: 3.938 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.531/1.531, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2297/0.2297, allocations: 44.94 MB / 359.6 MB, free: 6.055 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.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.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 67.89 kB / 0.4942 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.379, allocations: 65.47 MB / 0.5582 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01567/0.3947, allocations: 10.4 MB / 0.5683 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009915/0.4046, allocations: 3.899 MB / 0.5721 GB, free: 9.125 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002422/0.407, allocations: 87.69 kB / 0.5722 GB, free: 9.039 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004008/0.411, allocations: 1.635 MB / 0.5738 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004843/0.4159, allocations: 1.568 MB / 0.5754 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002669/0.4185, allocations: 1.145 MB / 0.5765 GB, free: 4.676 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005541/0.4241, allocations: 3.506 MB / 0.5799 GB, free: 1.164 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002974/0.4271, allocations: 1.988 MB / 0.5818 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002283/0.4293, allocations: 1.176 MB / 0.583 GB, free: 13.94 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002726/0.4321, allocations: 1.654 MB / 0.5846 GB, free: 12.28 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006455/0.4327, allocations: 236 kB / 0.5848 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.4342, allocations: 0.6202 MB / 0.5854 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001707/0.4359, allocations: 1.593 MB / 0.587 GB, free: 9.832 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001797/0.4377, allocations: 1.3 MB / 0.5883 GB, free: 8.523 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007873/0.4456, allocations: 6.173 MB / 0.5943 GB, free: 2.324 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.4456, allocations: 4 kB / 0.5943 GB, free: 2.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.948e-06/0.4456, allocations: 4 kB / 0.5943 GB, free: 2.316 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002015/0.4458, allocations: 0 / 0.5943 GB, free: 2.316 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: 1539 * Number of variables: 1539 Notification: Performance of Generate backend data structure: time 0.008504/0.4543, allocations: 4.017 MB / 0.5982 GB, free: 14.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.4543, allocations: 8.031 kB / 0.5982 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/0.4646, allocations: 2.993 MB / 0.6011 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005242/0.4698, allocations: 1.775 MB / 0.6029 GB, free: 9.426 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002261/0.47, allocations: 193.1 kB / 0.6031 GB, free: 9.234 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001063/0.4711, allocations: 247.8 kB / 0.6033 GB, free: 8.992 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02065/0.4917, allocations: 10.03 MB / 0.6131 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001286/0.4919, allocations: 35.73 kB / 0.6131 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001168/0.493, allocations: 127.8 kB / 0.6133 GB, free: 14.14 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004252/0.4973, allocations: 2.317 MB / 0.6155 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01823/0.5155, allocations: 8.913 MB / 0.6242 GB, free: 2.902 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05399/0.5695, allocations: 35.04 MB / 0.6584 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005623/0.5751, allocations: 2.329 MB / 0.6607 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001876/0.577, allocations: 1.14 MB / 0.6618 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009162/0.5862, allocations: 4.477 MB / 0.6662 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.859e-05/0.5862, allocations: 43.22 kB / 0.6662 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 6.191e-06/0.5862, allocations: 0 / 0.6662 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.007394/0.5936, allocations: 3.322 MB / 0.6695 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.5937, allocations: 166.9 kB / 0.6696 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006764/0.6005, allocations: 3.753 MB / 0.6733 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001998/0.6007, allocations: 41.7 kB / 0.6733 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003334/0.604, allocations: 3.341 MB / 0.6766 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001111/0.6051, allocations: 0.6204 MB / 0.6772 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002742/0.6079, allocations: 1.318 MB / 0.6785 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000202/0.6081, allocations: 357.9 kB / 0.6788 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003302/0.6114, allocations: 1.953 MB / 0.6808 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00722/0.6186, allocations: 6.108 MB / 0.6867 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01148/0.6301, allocations: 8.787 MB / 0.6953 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001733/0.6303, allocations: 44 kB / 0.6953 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01483/0.6451, allocations: 7.696 MB / 0.7029 GB, free: 12.88 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001766/0.6453, allocations: 68 kB / 0.7029 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003037/0.6456, allocations: 151.8 kB / 0.7031 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002497/0.6458, allocations: 192 kB / 0.7032 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004747/0.6506, allocations: 1.462 MB / 0.7047 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003124/0.6509, allocations: 287.5 kB / 0.7049 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004999/0.6559, allocations: 0.9002 MB / 0.7058 GB, free: 9.824 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001022/0.6569, allocations: 400 kB / 0.7062 GB, free: 9.434 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.00503/0.6619, allocations: 2.199 MB / 0.7084 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009442/0.6629, allocations: 297.9 kB / 0.7086 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.6642, allocations: 384.4 kB / 0.709 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001035/0.6643, allocations: 39.94 kB / 0.709 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/0.6643, allocations: 0 / 0.709 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.266e-05/0.6643, allocations: 11.97 kB / 0.7091 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01185/0.6762, allocations: 4.332 MB / 0.7133 GB, free: 2.055 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.12e-05/0.6762, allocations: 12.03 kB / 0.7133 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/0.6774, allocations: 204 kB / 0.7135 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.924e-05/0.6774, allocations: 12 kB / 0.7135 GB, free: 1.832 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002142/0.6776, allocations: 31.98 kB / 0.7135 GB, free: 1.801 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.292e-05/0.6777, allocations: 19.88 kB / 0.7136 GB, free: 1.781 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/0.6777, allocations: 4 kB / 0.7136 GB, free: 1.777 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004191/0.6819, allocations: 2.519 MB / 0.716 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008762/0.6827, allocations: 289.6 kB / 0.7163 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005966/0.6833, allocations: 27.98 kB / 0.7163 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.6847, allocations: 71.84 kB / 0.7164 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/0.6849, allocations: 80.25 kB / 0.7165 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.685, allocations: 43.94 kB / 0.7165 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004722/0.6897, allocations: 2.099 MB / 0.7186 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.51e-07/0.6897, allocations: 0 / 0.7186 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006256/0.696, allocations: 1.099 MB / 0.7196 GB, free: 11.47 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.0006626/0.6967, allocations: 154.9 kB / 0.7198 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008356/0.705, allocations: 4.256 MB / 0.7239 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/0.705, allocations: 4.062 kB / 0.7239 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001472/0.7065, allocations: 0.8733 MB / 0.7248 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/0.7091, allocations: 288.5 kB / 0.7251 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3273/1.036, allocations: 8.828 MB / 0.7337 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003901/1.04, allocations: 2.626 MB / 0.7363 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/1.041, allocations: 263.2 kB / 0.7365 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.433e-06/1.041, allocations: 0 / 0.7365 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.07047/1.112, allocations: 52.83 MB / 0.7881 GB, free: 109.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/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: 12.310081885196269]