Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001476/0.001476, allocations: 105 kB / 20.44 MB, free: 1.504 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.001606/0.001606, allocations: 216.8 kB / 23.76 MB, free: 4.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 207.6 MB / 234.5 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2107/0.2107, allocations: 44.24 MB / 331 MB, free: 9.52 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002371/0.002371, allocations: 78.86 kB / 468.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1132, allocations: 61.02 MB / 0.5174 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01485/0.1281, allocations: 12.54 MB / 0.5296 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008997/0.1371, allocations: 4.086 MB / 0.5336 GB, free: 6.152 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001951/0.139, allocations: 83.75 kB / 0.5337 GB, free: 6.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003591/0.1426, allocations: 1.717 MB / 0.5353 GB, free: 4.348 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004037/0.1466, allocations: 1.646 MB / 0.537 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002487/0.1491, allocations: 1.204 MB / 0.5381 GB, free: 1.488 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2121/0.3612, allocations: 3.613 MB / 0.5417 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002771/0.364, allocations: 2.07 MB / 0.5437 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002136/0.3661, allocations: 1.238 MB / 0.5449 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002851/0.369, allocations: 1.836 MB / 0.5467 GB, free: 9.996 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007256/0.3697, allocations: 254.8 kB / 0.5469 GB, free: 9.996 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.3713, allocations: 0.7426 MB / 0.5476 GB, free: 9.996 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001754/0.373, allocations: 1.692 MB / 0.5493 GB, free: 9.762 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001949/0.375, allocations: 1.982 MB / 0.5512 GB, free: 8.988 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008467/0.3834, allocations: 6.537 MB / 0.5576 GB, free: 7.105 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3834, allocations: 2.906 kB / 0.5576 GB, free: 7.105 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3834, allocations: 0 / 0.5576 GB, free: 7.105 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002332/0.3837, allocations: 0 / 0.5576 GB, free: 7.105 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.009308/0.393, allocations: 4.241 MB / 0.5618 GB, free: 4.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.393, allocations: 10.92 kB / 0.5618 GB, free: 4.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009549/0.4026, allocations: 3.04 MB / 0.5647 GB, free: 4.207 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004475/0.4071, allocations: 1.815 MB / 0.5665 GB, free: 3.223 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/0.4072, allocations: 204.5 kB / 0.5667 GB, free: 3.172 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008477/0.4081, allocations: 257.8 kB / 0.567 GB, free: 3.129 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01638/0.4244, allocations: 10.53 MB / 0.5772 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.593e-05/0.4245, allocations: 27.62 kB / 0.5773 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004165/0.4249, allocations: 132.2 kB / 0.5774 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003553/0.4285, allocations: 2.437 MB / 0.5798 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01608/0.4446, allocations: 9.372 MB / 0.5889 GB, free: 5.699 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05805/0.5026, allocations: 38.68 MB / 0.6267 GB, free: 14.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0061/0.5087, allocations: 2.444 MB / 0.6291 GB, free: 11.93 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002074/0.5108, allocations: 1.18 MB / 0.6302 GB, free: 10.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01083/0.5216, allocations: 5.001 MB / 0.6351 GB, free: 5.746 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/0.5217, allocations: 53.22 kB / 0.6352 GB, free: 5.691 MB / 478.1 MB Notification: Performance of pre-optimization done (n=153): time 5.801e-06/0.5217, allocations: 4 kB / 0.6352 GB, free: 5.688 MB / 478.1 MB Notification: Performance of matching and sorting (n=153): time 0.007627/0.5293, allocations: 3.371 MB / 0.6385 GB, free: 2.324 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.5294, allocations: 173.6 kB / 0.6386 GB, free: 2.121 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00809/0.5375, allocations: 3.965 MB / 0.6425 GB, free: 14.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000265/0.5378, allocations: 45.61 kB / 0.6426 GB, free: 14.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00345/0.5412, allocations: 3.465 MB / 0.6459 GB, free: 10.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00106/0.5423, allocations: 0.6412 MB / 0.6466 GB, free: 10.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003385/0.5457, allocations: 1.36 MB / 0.6479 GB, free: 8.676 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.5458, allocations: 305.1 kB / 0.6482 GB, free: 8.375 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003586/0.5494, allocations: 2.004 MB / 0.6501 GB, free: 6.367 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007369/0.5568, allocations: 6.304 MB / 0.6563 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/0.5681, allocations: 9.062 MB / 0.6651 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001588/0.5682, allocations: 44 kB / 0.6652 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01613/0.5844, allocations: 7.953 MB / 0.673 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001808/0.5846, allocations: 68 kB / 0.673 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002422/0.5848, allocations: 152.9 kB / 0.6732 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002382/0.585, allocations: 200 kB / 0.6734 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005021/0.5901, allocations: 1.517 MB / 0.6748 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003278/0.5904, allocations: 298.8 kB / 0.6751 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005171/0.5956, allocations: 0.9686 MB / 0.6761 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001098/0.5967, allocations: 416 kB / 0.6765 GB, free: 7.406 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 698 * Number of states: 0 () * Number of discrete variables: 21 (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 (819): * Single equations (assignments): 811 * 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.004696/0.6014, allocations: 2.282 MB / 0.6787 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007179/0.6021, allocations: 341.7 kB / 0.679 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.6032, allocations: 416.2 kB / 0.6794 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.73e-05/0.6033, allocations: 39.98 kB / 0.6795 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.6033, allocations: 4 kB / 0.6795 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.6033, allocations: 3.984 kB / 0.6795 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01337/0.6167, allocations: 5.684 MB / 0.685 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/0.6167, allocations: 8.75 kB / 0.685 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009649/0.6176, allocations: 211.7 kB / 0.6852 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.767e-05/0.6177, allocations: 12 kB / 0.6852 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001323/0.6178, allocations: 31.98 kB / 0.6853 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.152e-05/0.6178, allocations: 11.94 kB / 0.6853 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.6178, allocations: 8 kB / 0.6853 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003402/0.6212, allocations: 2.602 MB / 0.6878 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009667/0.6222, allocations: 329.3 kB / 0.6881 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006619/0.6228, allocations: 24 kB / 0.6882 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/0.6241, allocations: 63.56 kB / 0.6882 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.6243, allocations: 100.1 kB / 0.6883 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.6244, allocations: 40 kB / 0.6884 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004542/0.629, allocations: 2.415 MB / 0.6907 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.629, allocations: 0 / 0.6907 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005468/0.6344, allocations: 1.149 MB / 0.6918 GB, free: 7.484 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (111): * Single equations (assignments): 105 * 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.0004407/0.6349, allocations: 149.1 kB / 0.692 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007351/0.6422, allocations: 4.368 MB / 0.6962 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.353e-06/0.6422, allocations: 0.8438 kB / 0.6962 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001322/0.6436, allocations: 0.8864 MB / 0.6971 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002536/0.6461, allocations: 371.9 kB / 0.6975 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01872/0.6648, allocations: 9.249 MB / 0.7065 GB, free: 8.383 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004997/0.6698, allocations: 3.293 MB / 0.7097 GB, free: 5.059 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001/0.6708, allocations: 287.4 kB / 0.71 GB, free: 4.777 MB / 0.545 GB Notification: Performance of SimCode: time 9.11e-07/0.6708, allocations: 0 / 0.71 GB, free: 4.777 MB / 0.545 GB Notification: Performance of Templates: time 0.2971/0.9679, allocations: 55.17 MB / 0.7639 GB, free: 194.9 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.236648987978697]