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.002002/0.002002, allocations: 96.97 kB / 20.21 MB, free: 4.211 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.002029/0.002029, allocations: 169.6 kB / 23.53 MB, free: 0.8984 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 1.369/1.369, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 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.2036/0.2036, allocations: 32.37 MB / 270 MB, free: 14.78 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.813e-06/1.813e-06, allocations: 0 / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.707e-05, allocations: 2.312 kB / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01121/0.01124, allocations: 11.9 MB / 358.8 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009634/0.02087, allocations: 3.989 MB / 362.8 MB, free: 9.871 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002359/0.02323, allocations: 87.69 kB / 362.9 MB, free: 9.785 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004124/0.02736, allocations: 1.798 MB / 364.7 MB, free: 7.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004833/0.03219, allocations: 1.684 MB / 366.4 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002928/0.03512, allocations: 1.286 MB / 367.7 MB, free: 5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006147/0.04126, allocations: 3.683 MB / 371.3 MB, free: 1.301 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003559/0.04482, allocations: 2.149 MB / 373.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003385/0.04821, allocations: 1.816 MB / 375.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003878/0.05209, allocations: 1.757 MB / 377.1 MB, free: 11.53 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001184/0.05327, allocations: 252 kB / 377.3 MB, free: 11.28 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002001/0.05527, allocations: 0.6866 MB / 378 MB, free: 10.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002533/0.0578, allocations: 1.761 MB / 379.8 MB, free: 8.828 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00201/0.05981, allocations: 1.027 MB / 380.8 MB, free: 7.797 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0104/0.07022, allocations: 6.435 MB / 387.2 MB, free: 1.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.07023, allocations: 0 / 387.2 MB, free: 1.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.07023, allocations: 0 / 387.2 MB, free: 1.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002487/0.07048, allocations: 0 / 387.2 MB, free: 1.34 MB / 314.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.01179/0.08227, allocations: 5.07 MB / 392.3 MB, free: 12.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.08232, allocations: 8.031 kB / 392.3 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0125/0.09482, allocations: 3.563 MB / 395.9 MB, free: 8.625 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005302/0.1001, allocations: 1.734 MB / 397.6 MB, free: 6.852 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002274/0.1003, allocations: 201.3 kB / 397.8 MB, free: 6.652 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008421/0.1012, allocations: 256.2 kB / 398 MB, free: 6.402 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01517/0.1164, allocations: 6.252 MB / 404.3 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.407e-05/0.1164, allocations: 31.69 kB / 404.3 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005064/0.117, allocations: 127.8 kB / 404.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004583/0.1215, allocations: 2.439 MB / 406.9 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01281/0.1343, allocations: 3.59 MB / 410.5 MB, free: 9.059 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2309/0.3652, allocations: 47.43 MB / 457.9 MB, free: 67.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004565/0.3698, allocations: 1.452 MB / 459.4 MB, free: 67.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.3708, allocations: 475.3 kB / 459.8 MB, free: 67.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009111/0.3799, allocations: 4.497 MB / 464.3 MB, free: 65.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.38, allocations: 53.39 kB / 464.4 MB, free: 65.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=153): time 5.431e-06/0.38, allocations: 0 / 464.4 MB, free: 65.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=153): time 0.005195/0.3852, allocations: 1.788 MB / 466.2 MB, free: 65.19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.3852, allocations: 173.6 kB / 466.3 MB, free: 65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005733/0.391, allocations: 4.495 MB / 470.8 MB, free: 64.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002112/0.3912, allocations: 42.27 kB / 470.9 MB, free: 64.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00232/0.3935, allocations: 3.852 MB / 474.7 MB, free: 61.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008879/0.3944, allocations: 0.7002 MB / 475.4 MB, free: 61.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002012/0.3964, allocations: 1.716 MB / 477.1 MB, free: 60.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.3966, allocations: 0.556 MB / 477.7 MB, free: 59.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/0.3981, allocations: 0.692 MB / 478.4 MB, free: 59.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003957/0.402, allocations: 7.305 MB / 485.7 MB, free: 50.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006645/0.4087, allocations: 8.794 MB / 494.5 MB, free: 40.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001965/0.4089, allocations: 44 kB / 494.5 MB, free: 40.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01116/0.42, allocations: 5.676 MB / 0.4885 GB, free: 35.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.11e-05/0.4201, allocations: 78.22 kB / 0.4885 GB, free: 35.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000158/0.4203, allocations: 152 kB / 0.4887 GB, free: 35.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001579/0.4204, allocations: 200 kB / 0.4889 GB, free: 35.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004253/0.4247, allocations: 1.508 MB / 0.4904 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001629/0.4248, allocations: 298.9 kB / 0.4906 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004548/0.4294, allocations: 0.9437 MB / 0.4916 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007596/0.4302, allocations: 408 kB / 0.492 GB, free: 32.15 MB / 378.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.002342/0.4325, allocations: 0.8108 MB / 0.4927 GB, free: 31.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005179/0.433, allocations: 337.9 kB / 0.4931 GB, free: 31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007412/0.4338, allocations: 329.4 kB / 0.4934 GB, free: 30.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.643e-05/0.4338, allocations: 36 kB / 0.4934 GB, free: 30.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.4338, allocations: 4 kB / 0.4934 GB, free: 30.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.4338, allocations: 7.969 kB / 0.4934 GB, free: 30.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008865/0.4427, allocations: 5.109 MB / 0.4984 GB, free: 25.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/0.4427, allocations: 7.984 kB / 0.4984 GB, free: 25.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009361/0.4436, allocations: 211.7 kB / 0.4986 GB, free: 25.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/0.4437, allocations: 12 kB / 0.4986 GB, free: 25.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-05/0.4437, allocations: 24 kB / 0.4987 GB, free: 25.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.155e-05/0.4437, allocations: 19.92 kB / 0.4987 GB, free: 25.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.4438, allocations: 11.94 kB / 0.4987 GB, free: 25.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/0.4456, allocations: 1.833 MB / 0.5005 GB, free: 23.15 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005755/0.4462, allocations: 285.5 kB / 0.5008 GB, free: 22.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000308/0.4465, allocations: 27.94 kB / 0.5008 GB, free: 22.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009707/0.4474, allocations: 75.84 kB / 0.5009 GB, free: 22.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.4476, allocations: 84.19 kB / 0.5009 GB, free: 22.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.439e-05/0.4477, allocations: 51.34 kB / 0.501 GB, free: 22.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002224/0.4499, allocations: 1.712 MB / 0.5027 GB, free: 20.94 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4499, allocations: 4 kB / 0.5027 GB, free: 20.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004791/0.4547, allocations: 1.176 MB / 0.5038 GB, free: 19.75 MB / 378.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.0003484/0.455, allocations: 158.4 kB / 0.504 GB, free: 19.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005504/0.4605, allocations: 3.125 MB / 0.507 GB, free: 16.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/0.4606, allocations: 0 / 0.507 GB, free: 16.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009257/0.4615, allocations: 470.7 kB / 0.5075 GB, free: 16.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/0.4635, allocations: 296.6 kB / 0.5077 GB, free: 15.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/0.4752, allocations: 7.218 MB / 0.5148 GB, free: 8.355 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002546/0.4777, allocations: 2.429 MB / 0.5172 GB, free: 5.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003919/0.4816, allocations: 1.941 MB / 0.5191 GB, free: 3.969 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004778/0.4821, allocations: 212.5 kB / 0.5193 GB, free: 3.762 MB / 378.7 MB Notification: Performance of SimCode: time 1.873e-06/0.4821, allocations: 0 / 0.5193 GB, free: 3.762 MB / 378.7 MB Notification: Performance of Templates: time 0.04814/0.5303, allocations: 17.15 MB / 0.536 GB, free: 2.797 MB / 394.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 240] 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: 6.299770446959883]