Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001871/0.001871, allocations: 116.8 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002277/0.002277, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2396/0.2396, allocations: 46.88 MB / 358.1 MB, free: 10.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002193, allocations: 83.86 kB / 0.4923 GB, free: 8.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1604, allocations: 65.98 MB / 0.5568 GB, free: 5.938 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.02071/0.1811, allocations: 11.99 MB / 0.5685 GB, free: 9.887 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01069/0.1918, allocations: 4.093 MB / 0.5725 GB, free: 5.777 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00303/0.1948, allocations: 79.88 kB / 0.5726 GB, free: 5.699 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00397/0.1988, allocations: 1.682 MB / 0.5742 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005101/0.2039, allocations: 1.553 MB / 0.5757 GB, free: 2.453 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002679/0.2066, allocations: 1.184 MB / 0.5769 GB, free: 1.266 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006065/0.2127, allocations: 3.513 MB / 0.5803 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003195/0.2159, allocations: 2.071 MB / 0.5823 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002029/0.2179, allocations: 1.156 MB / 0.5835 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002713/0.2206, allocations: 1.729 MB / 0.5851 GB, free: 8.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006573/0.2212, allocations: 236 kB / 0.5854 GB, free: 8.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001763/0.223, allocations: 0.7333 MB / 0.5861 GB, free: 7.766 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001822/0.2248, allocations: 1.593 MB / 0.5876 GB, free: 6.168 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002273/0.2271, allocations: 1.859 MB / 0.5895 GB, free: 4.297 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3541/0.5812, allocations: 6.141 MB / 0.5955 GB, free: 12.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.5812, allocations: 0.6562 kB / 0.5955 GB, free: 12.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.5812, allocations: 0.5156 kB / 0.5955 GB, free: 12.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002684/0.5815, allocations: 1.562 kB / 0.5955 GB, free: 12.51 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.01106/0.5926, allocations: 4.093 MB / 0.5995 GB, free: 10.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.5926, allocations: 13.25 kB / 0.5995 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01148/0.6041, allocations: 2.995 MB / 0.6024 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00501/0.6091, allocations: 1.82 MB / 0.6042 GB, free: 9.898 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002134/0.6093, allocations: 190.4 kB / 0.6044 GB, free: 9.891 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001126/0.6104, allocations: 248.4 kB / 0.6046 GB, free: 9.891 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01924/0.6297, allocations: 10.04 MB / 0.6144 GB, free: 7.508 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001898/0.6299, allocations: 30.34 kB / 0.6144 GB, free: 7.508 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001379/0.6313, allocations: 127 kB / 0.6145 GB, free: 7.465 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004561/0.6358, allocations: 2.313 MB / 0.6168 GB, free: 7.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01807/0.6539, allocations: 8.925 MB / 0.6255 GB, free: 4.488 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05669/0.7106, allocations: 37.6 MB / 0.6622 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007278/0.7179, allocations: 3.25 MB / 0.6654 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002057/0.7199, allocations: 1.139 MB / 0.6665 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01112/0.731, allocations: 5.18 MB / 0.6716 GB, free: 6.848 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.535e-05/0.7311, allocations: 50.03 kB / 0.6716 GB, free: 6.793 MB / 494.1 MB Notification: Performance of pre-optimization done (n=150): time 6.703e-06/0.7311, allocations: 0 / 0.6716 GB, free: 6.793 MB / 494.1 MB Notification: Performance of matching and sorting (n=150): time 0.008096/0.7392, allocations: 3.335 MB / 0.6749 GB, free: 3.465 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.7393, allocations: 173 kB / 0.6751 GB, free: 3.262 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008101/0.7474, allocations: 3.841 MB / 0.6788 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002145/0.7476, allocations: 44.75 kB / 0.6789 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003767/0.7514, allocations: 3.318 MB / 0.6821 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001312/0.7527, allocations: 0.6324 MB / 0.6827 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003386/0.7561, allocations: 1.309 MB / 0.684 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.7563, allocations: 301.1 kB / 0.6843 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003598/0.7599, allocations: 1.958 MB / 0.6862 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007585/0.7674, allocations: 6.109 MB / 0.6922 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/0.7789, allocations: 8.794 MB / 0.7007 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001615/0.779, allocations: 44 kB / 0.7008 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01608/0.7951, allocations: 7.718 MB / 0.7083 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001707/0.7953, allocations: 69.64 kB / 0.7084 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002613/0.7955, allocations: 155.9 kB / 0.7085 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002666/0.7958, allocations: 192.8 kB / 0.7087 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005043/0.8008, allocations: 1.458 MB / 0.7101 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003215/0.8012, allocations: 292.9 kB / 0.7104 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005401/0.8066, allocations: 0.9279 MB / 0.7113 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00114/0.8077, allocations: 404 kB / 0.7117 GB, free: 10.54 MB / 0.5294 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.0054/0.8131, allocations: 2.197 MB / 0.7139 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008456/0.8139, allocations: 321.8 kB / 0.7142 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.8153, allocations: 415 kB / 0.7146 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.118e-05/0.8153, allocations: 42.48 kB / 0.7146 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/0.8154, allocations: 0 / 0.7146 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/0.8154, allocations: 7.984 kB / 0.7146 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/0.8276, allocations: 5.466 MB / 0.7199 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/0.8276, allocations: 4 kB / 0.72 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009831/0.8286, allocations: 207.7 kB / 0.7201 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-05/0.8286, allocations: 9.625 kB / 0.7202 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/0.8287, allocations: 35.2 kB / 0.7202 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.597e-05/0.8288, allocations: 15.94 kB / 0.7202 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/0.8288, allocations: 8.531 kB / 0.7202 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003547/0.8323, allocations: 2.548 MB / 0.7227 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009321/0.8333, allocations: 382.6 kB / 0.7231 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007104/0.834, allocations: 34.8 kB / 0.7231 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/0.8354, allocations: 64.84 kB / 0.7232 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/0.8356, allocations: 80.3 kB / 0.7232 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.8357, allocations: 47.98 kB / 0.7233 GB, free: 14.47 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00467/0.8404, allocations: 2.334 MB / 0.7256 GB, free: 12.15 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.8404, allocations: 0 / 0.7256 GB, free: 12.15 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005681/0.8461, allocations: 1.073 MB / 0.7266 GB, free: 11.08 MB / 0.545 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.0005298/0.8466, allocations: 155.5 kB / 0.7268 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007838/0.8544, allocations: 4.262 MB / 0.7309 GB, free: 6.703 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.8544, allocations: 1.531 kB / 0.7309 GB, free: 6.703 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001443/0.8559, allocations: 0.8785 MB / 0.7318 GB, free: 5.816 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00425/0.8601, allocations: 345.3 kB / 0.7321 GB, free: 5.492 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02117/0.8813, allocations: 8.873 MB / 0.7408 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005946/0.8873, allocations: 3.17 MB / 0.7439 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/0.8885, allocations: 271.4 kB / 0.7441 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of SimCode: time 1.173e-06/0.8885, allocations: 0 / 0.7441 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of Templates: time 0.09251/0.981, allocations: 53.03 MB / 0.7959 GB, free: 4.168 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 12.550887908088043]