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.001752/0.001752, allocations: 73.88 kB / 21.24 MB, free: 0.5547 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.002591/0.002591, allocations: 160.1 kB / 24.5 MB, free: 3.715 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.584/1.584, allocations: 177.2 MB / 204.9 MB, free: 9.012 MB / 190.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.209/0.209, allocations: 32.82 MB / 294.1 MB, free: 24 kB / 270.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.002113/0.002113, allocations: 63.91 kB / 440.6 MB, free: 9.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3295, allocations: 65.45 MB / 0.4941 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.008895/0.3384, allocations: 10.4 MB / 0.5043 GB, free: 24.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00721/0.3456, allocations: 3.892 MB / 0.5081 GB, free: 22.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002129/0.3477, allocations: 85 kB / 0.5082 GB, free: 22.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002886/0.3506, allocations: 1.647 MB / 0.5098 GB, free: 21.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003484/0.3541, allocations: 1.558 MB / 0.5113 GB, free: 20.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001987/0.3561, allocations: 1.152 MB / 0.5124 GB, free: 20.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00497/0.361, allocations: 3.495 MB / 0.5159 GB, free: 19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002827/0.3639, allocations: 1.988 MB / 0.5178 GB, free: 18.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002076/0.3659, allocations: 1.175 MB / 0.5189 GB, free: 17.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002832/0.3688, allocations: 1.656 MB / 0.5206 GB, free: 17.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007536/0.3695, allocations: 237.3 kB / 0.5208 GB, free: 17.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.3711, allocations: 0.6176 MB / 0.5214 GB, free: 16.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001596/0.3727, allocations: 1.595 MB / 0.5229 GB, free: 16.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001751/0.3744, allocations: 1.301 MB / 0.5242 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0085/0.3829, allocations: 6.177 MB / 0.5303 GB, free: 13.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3829, allocations: 0 / 0.5303 GB, free: 13.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3829, allocations: 1.469 kB / 0.5303 GB, free: 13.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002305/0.3832, allocations: 0 / 0.5303 GB, free: 13.11 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.01044/0.3936, allocations: 4.018 MB / 0.5342 GB, free: 10.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3937, allocations: 8.875 kB / 0.5342 GB, free: 10.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01026/0.4039, allocations: 3.026 MB / 0.5371 GB, free: 8.953 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005663/0.4096, allocations: 1.767 MB / 0.5389 GB, free: 7.848 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002224/0.4098, allocations: 200.2 kB / 0.5391 GB, free: 7.746 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001447/0.4112, allocations: 253.3 kB / 0.5393 GB, free: 7.652 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0146/0.4259, allocations: 10.05 MB / 0.5491 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.073e-05/0.4259, allocations: 35.69 kB / 0.5492 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004238/0.4264, allocations: 119.8 kB / 0.5493 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00398/0.4303, allocations: 2.314 MB / 0.5515 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01741/0.4477, allocations: 8.925 MB / 0.5602 GB, free: 4.438 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05274/0.5005, allocations: 35.2 MB / 0.5946 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005643/0.5061, allocations: 2.413 MB / 0.597 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001849/0.508, allocations: 1.143 MB / 0.5981 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009274/0.5173, allocations: 4.563 MB / 0.6025 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.362e-05/0.5173, allocations: 51.2 kB / 0.6026 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 5.2e-06/0.5173, allocations: 0 / 0.6026 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.007851/0.5252, allocations: 3.426 MB / 0.6059 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.5253, allocations: 166.9 kB / 0.6061 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005935/0.5312, allocations: 3.752 MB / 0.6098 GB, free: 440 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001751/0.5314, allocations: 45.69 kB / 0.6098 GB, free: 388 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002664/0.5341, allocations: 3.337 MB / 0.6131 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008192/0.5349, allocations: 0.636 MB / 0.6137 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001862/0.5367, allocations: 1.314 MB / 0.615 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.5369, allocations: 353.9 kB / 0.6153 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003047/0.54, allocations: 1.953 MB / 0.6172 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00676/0.5468, allocations: 6.112 MB / 0.6232 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01119/0.5579, allocations: 8.782 MB / 0.6318 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001261/0.5581, allocations: 40 kB / 0.6318 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01419/0.5723, allocations: 7.691 MB / 0.6393 GB, free: 13.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.779e-05/0.5724, allocations: 70.97 kB / 0.6394 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001607/0.5725, allocations: 151.9 kB / 0.6395 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002001/0.5727, allocations: 196 kB / 0.6397 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004407/0.5771, allocations: 1.458 MB / 0.6411 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002492/0.5774, allocations: 287.4 kB / 0.6414 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004229/0.5816, allocations: 0.9074 MB / 0.6423 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005839/0.5822, allocations: 400 kB / 0.6427 GB, free: 10.51 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.003748/0.5859, allocations: 2.196 MB / 0.6448 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005261/0.5865, allocations: 294 kB / 0.6451 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007337/0.5872, allocations: 388.3 kB / 0.6455 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.126e-05/0.5873, allocations: 39.97 kB / 0.6455 GB, free: 7.586 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.5873, allocations: 4 kB / 0.6455 GB, free: 7.582 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.5873, allocations: 7.984 kB / 0.6455 GB, free: 7.574 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008677/0.596, allocations: 4.367 MB / 0.6498 GB, free: 3.102 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/0.596, allocations: 12.12 kB / 0.6498 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009775/0.5969, allocations: 211.6 kB / 0.65 GB, free: 2.883 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.408e-05/0.597, allocations: 12 kB / 0.65 GB, free: 2.871 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.544e-05/0.597, allocations: 24 kB / 0.65 GB, free: 2.848 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.641e-05/0.5971, allocations: 15.88 kB / 0.65 GB, free: 2.832 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.095e-05/0.5971, allocations: 11.94 kB / 0.6501 GB, free: 2.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003419/0.6005, allocations: 2.517 MB / 0.6525 GB, free: 220 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007599/0.6013, allocations: 285.6 kB / 0.6528 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002624/0.6015, allocations: 27.94 kB / 0.6528 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009681/0.6025, allocations: 63.86 kB / 0.6529 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.6027, allocations: 88.25 kB / 0.653 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.6028, allocations: 47.98 kB / 0.653 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003747/0.6065, allocations: 2.095 MB / 0.6551 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6065, allocations: 0 / 0.6551 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005179/0.6117, allocations: 1.099 MB / 0.6561 GB, free: 12.52 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.0003472/0.6121, allocations: 162.9 kB / 0.6563 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006721/0.6188, allocations: 4.26 MB / 0.6604 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/0.6188, allocations: 8.062 kB / 0.6604 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.62, allocations: 0.8694 MB / 0.6613 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.6217, allocations: 288.5 kB / 0.6616 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/0.6354, allocations: 8.356 MB / 0.6697 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003486/0.6389, allocations: 2.612 MB / 0.6723 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004706/0.6436, allocations: 2.19 MB / 0.6744 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005037/0.6441, allocations: 212.5 kB / 0.6746 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of SimCode: time 7.92e-07/0.6441, allocations: 0 / 0.6746 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of Templates: time 0.04467/0.6888, allocations: 16.91 MB / 0.6911 GB, free: 8.934 MB / 0.5919 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 -s ida -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: 6.636307887965813]