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.001199/0.001199, allocations: 84.44 kB / 20.69 MB, free: 3.875 MB / 18.57 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.00134/0.00134, allocations: 169.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 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 0.8926/0.8926, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.1338/0.1338, allocations: 32.36 MB / 270.3 MB, free: 14.97 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.778e-05, allocations: 5.938 kB / 408.1 MB, free: 13.03 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.008169/0.008196, allocations: 10.84 MB / 418.9 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006587/0.01478, allocations: 3.899 MB / 422.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00184/0.01662, allocations: 87.69 kB / 422.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00231/0.01893, allocations: 1.728 MB / 424.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003347/0.02228, allocations: 1.684 MB / 426.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.0237, allocations: 1.231 MB / 427.6 MB, free: 9.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003819/0.02752, allocations: 3.676 MB / 431.2 MB, free: 5.793 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00247/0.02999, allocations: 2.093 MB / 433.3 MB, free: 3.648 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002433/0.03242, allocations: 1.816 MB / 435.1 MB, free: 1.828 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002115/0.03454, allocations: 1.722 MB / 436.9 MB, free: 104 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.1596/0.1941, allocations: 250.6 kB / 437.1 MB, free: 20.22 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.1955, allocations: 0.6924 MB / 437.8 MB, free: 20.22 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001263/0.1967, allocations: 1.75 MB / 439.5 MB, free: 20.22 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001173/0.1979, allocations: 1.033 MB / 440.6 MB, free: 20.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006855/0.2048, allocations: 6.411 MB / 447 MB, free: 19.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.2048, allocations: 3.75 kB / 447 MB, free: 19.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2048, allocations: 0 / 447 MB, free: 19.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002322/0.205, allocations: 1.094 kB / 447 MB, free: 19.67 MB / 362.7 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.008682/0.2137, allocations: 4.183 MB / 451.2 MB, free: 17.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.2137, allocations: 10.59 kB / 451.2 MB, free: 17.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005999/0.2197, allocations: 3.072 MB / 454.3 MB, free: 17.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004133/0.2239, allocations: 1.833 MB / 456.1 MB, free: 16.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.224, allocations: 202.6 kB / 456.3 MB, free: 16.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008347/0.2248, allocations: 257.7 kB / 456.5 MB, free: 16.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01281/0.2376, allocations: 10.54 MB / 467.1 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.073e-05/0.2377, allocations: 32.22 kB / 467.1 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002726/0.238, allocations: 134.2 kB / 467.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001984/0.2399, allocations: 2.437 MB / 469.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/0.2501, allocations: 9.36 MB / 479 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0339/0.284, allocations: 36.19 MB / 0.5032 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003639/0.2876, allocations: 2.514 MB / 0.5056 GB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/0.2889, allocations: 1.168 MB / 0.5067 GB, free: 8.281 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006179/0.2951, allocations: 4.828 MB / 0.5115 GB, free: 3.465 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.456e-05/0.2951, allocations: 49.94 kB / 0.5115 GB, free: 3.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=153): time 5.52e-06/0.2951, allocations: 0 / 0.5115 GB, free: 3.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=153): time 0.004536/0.2997, allocations: 3.457 MB / 0.5149 GB, free: 15.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.574e-05/0.2997, allocations: 170.9 kB / 0.515 GB, free: 15.76 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004079/0.3038, allocations: 3.877 MB / 0.5188 GB, free: 11.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001354/0.304, allocations: 44.2 kB / 0.5189 GB, free: 11.83 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001665/0.3056, allocations: 3.446 MB / 0.5222 GB, free: 8.402 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006356/0.3063, allocations: 0.6375 MB / 0.5229 GB, free: 7.773 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001276/0.3075, allocations: 1.338 MB / 0.5242 GB, free: 6.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3077, allocations: 353.9 kB / 0.5245 GB, free: 6.078 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002163/0.3098, allocations: 2 MB / 0.5265 GB, free: 4.074 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004077/0.3139, allocations: 6.302 MB / 0.5326 GB, free: 11.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007363/0.3213, allocations: 9.065 MB / 0.5415 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001278/0.3214, allocations: 40 kB / 0.5415 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.0119/0.3333, allocations: 7.927 MB / 0.5492 GB, free: 8.809 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.131e-05/0.3334, allocations: 76.25 kB / 0.5493 GB, free: 8.734 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001444/0.3335, allocations: 152.9 kB / 0.5495 GB, free: 8.586 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00013/0.3337, allocations: 200 kB / 0.5497 GB, free: 8.391 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003157/0.3368, allocations: 1.505 MB / 0.5511 GB, free: 6.883 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001965/0.337, allocations: 302.8 kB / 0.5514 GB, free: 6.586 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003827/0.3408, allocations: 0.9307 MB / 0.5523 GB, free: 5.648 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008252/0.3417, allocations: 414.4 kB / 0.5527 GB, free: 5.246 MB / 458.7 MB 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.004123/0.3458, allocations: 2.284 MB / 0.5549 GB, free: 2.949 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004282/0.3462, allocations: 309.8 kB / 0.5552 GB, free: 2.645 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004896/0.3467, allocations: 397.4 kB / 0.5556 GB, free: 2.254 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.371e-05/0.3468, allocations: 40.02 kB / 0.5557 GB, free: 2.219 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-05/0.3468, allocations: 4 kB / 0.5557 GB, free: 2.215 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.587e-06/0.3468, allocations: 3.984 kB / 0.5557 GB, free: 2.211 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006273/0.3531, allocations: 4.542 MB / 0.5601 GB, free: 13.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.3531, allocations: 7.938 kB / 0.5601 GB, free: 13.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005597/0.3536, allocations: 211.7 kB / 0.5603 GB, free: 13.37 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/0.3536, allocations: 12.75 kB / 0.5603 GB, free: 13.36 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.315e-05/0.3537, allocations: 24 kB / 0.5604 GB, free: 13.33 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.019e-05/0.3537, allocations: 19.98 kB / 0.5604 GB, free: 13.31 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/0.3537, allocations: 14.67 kB / 0.5604 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/0.3559, allocations: 2.553 MB / 0.5629 GB, free: 10.65 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005672/0.3565, allocations: 289.5 kB / 0.5632 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.3567, allocations: 28.3 kB / 0.5632 GB, free: 10.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005701/0.3573, allocations: 67.86 kB / 0.5632 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.3574, allocations: 99.27 kB / 0.5633 GB, free: 10.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.575e-05/0.3574, allocations: 51.98 kB / 0.5634 GB, free: 10.13 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002795/0.3602, allocations: 2.153 MB / 0.5655 GB, free: 7.984 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3602, allocations: 0 / 0.5655 GB, free: 7.984 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004368/0.3646, allocations: 1.182 MB / 0.5666 GB, free: 6.801 MB / 474.7 MB 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.0004634/0.3651, allocations: 160.8 kB / 0.5668 GB, free: 6.637 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005622/0.3707, allocations: 4.372 MB / 0.5711 GB, free: 2.301 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.3707, allocations: 0 / 0.5711 GB, free: 2.301 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008507/0.3716, allocations: 0.8811 MB / 0.5719 GB, free: 1.418 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.373, allocations: 286.7 kB / 0.5722 GB, free: 1.141 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/0.3863, allocations: 9.183 MB / 0.5812 GB, free: 7.832 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00274/0.389, allocations: 2.741 MB / 0.5838 GB, free: 5.059 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007801/0.3898, allocations: 272.5 kB / 0.5841 GB, free: 4.793 MB / 490.7 MB Notification: Performance of SimCode: time 1.834e-06/0.3898, allocations: 0 / 0.5841 GB, free: 4.793 MB / 490.7 MB Notification: Performance of Templates: time 0.2639/0.6537, allocations: 54.94 MB / 0.6378 GB, free: 164.4 MB / 0.5105 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.028696672990918]