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.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.001339/0.001339, allocations: 109.7 kB / 18.33 MB, free: 3.98 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.00156/0.00156, allocations: 186 kB / 21.49 MB, free: 0.8242 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.551/1.551, allocations: 207.6 MB / 232.1 MB, free: 11.11 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.2256/0.2256, allocations: 44.25 MB / 328.4 MB, free: 10.06 MB / 270.1 MB " [Timeout remaining time 179] 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.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_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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 70.55 kB / 465.5 MB, free: 4.949 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1582, allocations: 61.01 MB / 0.5142 GB, free: 7.797 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01681/0.175, allocations: 12.53 MB / 0.5264 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01174/0.1867, allocations: 4.082 MB / 0.5304 GB, free: 7.109 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00332/0.19, allocations: 75.88 kB / 0.5305 GB, free: 7.035 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004265/0.1943, allocations: 1.717 MB / 0.5322 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005433/0.1997, allocations: 1.627 MB / 0.5338 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002825/0.2026, allocations: 1.204 MB / 0.5349 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.3446/0.5472, allocations: 3.618 MB / 0.5385 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003448/0.5506, allocations: 1.858 MB / 0.5403 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002827/0.5535, allocations: 1.22 MB / 0.5415 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003489/0.557, allocations: 1.834 MB / 0.5433 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009204/0.5579, allocations: 254.1 kB / 0.5435 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.5597, allocations: 0.737 MB / 0.5442 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00226/0.562, allocations: 1.69 MB / 0.5459 GB, free: 9.852 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003002/0.565, allocations: 1.983 MB / 0.5478 GB, free: 9.078 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01142/0.5764, allocations: 6.539 MB / 0.5542 GB, free: 7.453 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.188e-06/0.5764, allocations: 0 / 0.5542 GB, free: 7.453 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5764, allocations: 0.5938 kB / 0.5542 GB, free: 7.453 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003597/0.5768, allocations: 0 / 0.5542 GB, free: 7.453 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.0168/0.5936, allocations: 4.315 MB / 0.5584 GB, free: 4.918 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.5936, allocations: 13.59 kB / 0.5584 GB, free: 4.914 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01208/0.6057, allocations: 3.04 MB / 0.5614 GB, free: 4.516 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007444/0.6132, allocations: 1.881 MB / 0.5632 GB, free: 3.637 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003425/0.6135, allocations: 204 kB / 0.5634 GB, free: 3.582 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002226/0.6157, allocations: 259 kB / 0.5637 GB, free: 3.539 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02463/0.6403, allocations: 10.53 MB / 0.574 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.181e-05/0.6404, allocations: 32.19 kB / 0.574 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006658/0.6411, allocations: 129.4 kB / 0.5741 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004319/0.6454, allocations: 2.437 MB / 0.5765 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0209/0.6663, allocations: 9.371 MB / 0.5856 GB, free: 6.641 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06617/0.7325, allocations: 38.83 MB / 0.6236 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006817/0.7393, allocations: 3.354 MB / 0.6268 GB, free: 11.61 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002278/0.7416, allocations: 1.169 MB / 0.628 GB, free: 10.42 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01151/0.7531, allocations: 5.472 MB / 0.6333 GB, free: 4.852 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/0.7532, allocations: 46.5 kB / 0.6334 GB, free: 4.797 MB / 478.1 MB Notification: Performance of pre-optimization done (n=153): time 6.753e-06/0.7532, allocations: 4 kB / 0.6334 GB, free: 4.793 MB / 478.1 MB Notification: Performance of matching and sorting (n=153): time 0.008303/0.7615, allocations: 3.373 MB / 0.6367 GB, free: 1.434 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/0.7616, allocations: 170.8 kB / 0.6368 GB, free: 1.227 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008581/0.7702, allocations: 3.961 MB / 0.6407 GB, free: 13.28 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000409/0.7706, allocations: 49.3 kB / 0.6407 GB, free: 13.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003628/0.7742, allocations: 3.469 MB / 0.6441 GB, free: 9.781 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001644/0.7759, allocations: 0.6408 MB / 0.6448 GB, free: 9.148 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002514/0.7784, allocations: 1.364 MB / 0.6461 GB, free: 7.781 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.7786, allocations: 309.1 kB / 0.6464 GB, free: 7.477 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003582/0.7821, allocations: 1.996 MB / 0.6483 GB, free: 5.477 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007789/0.7899, allocations: 6.306 MB / 0.6545 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01335/0.8033, allocations: 9.057 MB / 0.6633 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001437/0.8034, allocations: 44 kB / 0.6634 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01731/0.8207, allocations: 7.952 MB / 0.6711 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/0.8209, allocations: 72 kB / 0.6712 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001928/0.821, allocations: 152.9 kB / 0.6714 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002517/0.8213, allocations: 203.9 kB / 0.6716 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005113/0.8264, allocations: 1.509 MB / 0.673 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003234/0.8267, allocations: 298.9 kB / 0.6733 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006785/0.8335, allocations: 0.9694 MB / 0.6743 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007395/0.8343, allocations: 412 kB / 0.6746 GB, free: 6.656 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.00503/0.8393, allocations: 2.283 MB / 0.6769 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008105/0.8401, allocations: 337.7 kB / 0.6772 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008387/0.8409, allocations: 420.2 kB / 0.6776 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.269e-05/0.841, allocations: 43.11 kB / 0.6776 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/0.841, allocations: 0 / 0.6776 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.841, allocations: 7.922 kB / 0.6776 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01251/0.8535, allocations: 5.713 MB / 0.6832 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/0.8536, allocations: 4.75 kB / 0.6832 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.8546, allocations: 215.7 kB / 0.6834 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-05/0.8546, allocations: 16 kB / 0.6835 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.706e-05/0.8547, allocations: 24 kB / 0.6835 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.686e-05/0.8547, allocations: 15.94 kB / 0.6835 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.769e-06/0.8547, allocations: 8 kB / 0.6835 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003634/0.8584, allocations: 2.605 MB / 0.686 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009913/0.8593, allocations: 398.4 kB / 0.6864 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003628/0.8597, allocations: 31.98 kB / 0.6865 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.8608, allocations: 70.89 kB / 0.6865 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002337/0.861, allocations: 92.22 kB / 0.6866 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/0.8611, allocations: 40 kB / 0.6866 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00559/0.8667, allocations: 2.415 MB / 0.689 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8667, allocations: 0 / 0.689 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008139/0.8749, allocations: 1.14 MB / 0.6901 GB, free: 6.609 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.0004644/0.8753, allocations: 157.5 kB / 0.6903 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008064/0.8834, allocations: 4.362 MB / 0.6945 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.765e-05/0.8834, allocations: 8 kB / 0.6945 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001514/0.8849, allocations: 0.8889 MB / 0.6954 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004248/0.8892, allocations: 366.8 kB / 0.6958 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02426/0.9134, allocations: 8.744 MB / 0.7043 GB, free: 8.023 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006302/0.9197, allocations: 3.293 MB / 0.7075 GB, free: 4.699 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006446/0.9262, allocations: 2.275 MB / 0.7097 GB, free: 2.414 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009781/0.9272, allocations: 227.4 kB / 0.7099 GB, free: 2.191 MB / 0.545 GB Notification: Performance of SimCode: time 3.256e-06/0.9272, allocations: 0 / 0.7099 GB, free: 2.191 MB / 0.545 GB Notification: Performance of Templates: time 0.06189/0.9891, allocations: 24.46 MB / 0.7338 GB, free: 9.852 MB / 0.5762 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins/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: 7.184225714765489]