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.000925/0.000925, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.0009565/0.0009565, allocations: 169 kB / 24.14 MB, free: 364 kB / 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.9142/0.9142, allocations: 158.6 MB / 186 MB, free: 2.77 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.1328/0.1328, allocations: 32.37 MB / 270.7 MB, free: 14.6 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.879e-05, allocations: 2.312 kB / 299.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.1506/0.1506, allocations: 11.68 MB / 310.8 MB, free: 14.06 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007963/0.1586, allocations: 4.159 MB / 314.9 MB, free: 11.39 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.1598, allocations: 89.72 kB / 315 MB, free: 11.37 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002052/0.1619, allocations: 1.773 MB / 316.8 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002347/0.1642, allocations: 1.687 MB / 318.5 MB, free: 9.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.1654, allocations: 1.256 MB / 319.7 MB, free: 8.594 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002621/0.168, allocations: 3.543 MB / 323.3 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001728/0.1697, allocations: 2.212 MB / 325.5 MB, free: 3.715 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/0.1711, allocations: 1.812 MB / 327.3 MB, free: 1.898 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001357/0.1725, allocations: 1.664 MB / 329 MB, free: 236 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003857/0.1729, allocations: 256 kB / 329.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008755/0.1737, allocations: 0.7099 MB / 329.9 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009391/0.1747, allocations: 1.761 MB / 331.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007394/0.1754, allocations: 1.031 MB / 332.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002843/0.1783, allocations: 4.065 MB / 336.8 MB, free: 8.387 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.1783, allocations: 0 / 336.8 MB, free: 8.387 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1783, allocations: 0 / 336.8 MB, free: 8.387 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.349e-05/0.1783, allocations: 0 / 336.8 MB, free: 8.387 MB / 298.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.003469/0.1818, allocations: 3.939 MB / 340.7 MB, free: 4.395 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.1818, allocations: 16.02 kB / 340.8 MB, free: 4.379 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003378/0.1852, allocations: 1.371 MB / 342.1 MB, free: 3.004 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/0.1868, allocations: 1.454 MB / 343.6 MB, free: 1.512 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.1869, allocations: 201.3 kB / 343.8 MB, free: 1.312 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003021/0.1872, allocations: 256.2 kB / 344 MB, free: 1.062 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004621/0.1918, allocations: 4.866 MB / 348.9 MB, free: 11.53 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.667e-05/0.1919, allocations: 31.69 kB / 348.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002428/0.1921, allocations: 133.1 kB / 349 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00182/0.1939, allocations: 2.135 MB / 351.2 MB, free: 9.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0037/0.1976, allocations: 2.597 MB / 353.8 MB, free: 6.598 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02219/0.2198, allocations: 30.17 MB / 384 MB, free: 7.266 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00223/0.2221, allocations: 1.297 MB / 385.2 MB, free: 5.914 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003902/0.2224, allocations: 304.7 kB / 385.5 MB, free: 5.594 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00449/0.2269, allocations: 3.653 MB / 389.2 MB, free: 1.914 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.227, allocations: 47.16 kB / 389.2 MB, free: 1.859 MB / 346.7 MB Notification: Performance of pre-optimization done (n=153): time 3.436e-06/0.227, allocations: 4 kB / 389.2 MB, free: 1.855 MB / 346.7 MB Notification: Performance of matching and sorting (n=153): time 0.002485/0.2295, allocations: 1.41 MB / 390.7 MB, free: 452 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.2295, allocations: 170.8 kB / 390.8 MB, free: 244 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/0.2314, allocations: 2.805 MB / 393.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.514e-05/0.2314, allocations: 41.7 kB / 393.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001691/0.2331, allocations: 3.368 MB / 397 MB, free: 9.977 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003403/0.2335, allocations: 0.6281 MB / 397.7 MB, free: 9.344 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009276/0.2344, allocations: 1.263 MB / 398.9 MB, free: 8.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2345, allocations: 349.8 kB / 399.3 MB, free: 7.723 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007349/0.2352, allocations: 0.7017 MB / 400 MB, free: 7.016 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002737/0.238, allocations: 4.819 MB / 404.8 MB, free: 48 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004667/0.2426, allocations: 6.313 MB / 411.1 MB, free: 7.578 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.218e-05/0.2427, allocations: 44 kB / 411.1 MB, free: 7.535 MB / 378.7 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.004577/0.2473, allocations: 4.437 MB / 415.6 MB, free: 3.094 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.942e-05/0.2473, allocations: 72 kB / 415.7 MB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.519e-05/0.2474, allocations: 156.2 kB / 415.8 MB, free: 2.871 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001209/0.2475, allocations: 200 kB / 416 MB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002365/0.2499, allocations: 1.517 MB / 417.5 MB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001427/0.25, allocations: 302.8 kB / 417.8 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/0.2522, allocations: 0.8879 MB / 418.7 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000315/0.2525, allocations: 359.4 kB / 419.1 MB, free: 15.61 MB / 394.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.001673/0.2542, allocations: 0.6592 MB / 419.7 MB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/0.2544, allocations: 187.7 kB / 419.9 MB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003124/0.2547, allocations: 321.4 kB / 420.2 MB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.865e-05/0.2548, allocations: 39.98 kB / 420.3 MB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.2548, allocations: 0 / 420.3 MB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.2548, allocations: 7.984 kB / 420.3 MB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003567/0.2584, allocations: 2.959 MB / 423.2 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.2584, allocations: 8 kB / 423.2 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004542/0.2588, allocations: 179.7 kB / 423.4 MB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/0.2588, allocations: 8.75 kB / 423.4 MB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.211e-05/0.2589, allocations: 31.98 kB / 423.4 MB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.508e-06/0.2589, allocations: 19.94 kB / 423.5 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.2589, allocations: 11.98 kB / 423.5 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009503/0.2599, allocations: 1.251 MB / 424.7 MB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.2601, allocations: 285.5 kB / 425 MB, free: 9.438 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.2602, allocations: 31.97 kB / 425 MB, free: 9.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004109/0.2607, allocations: 24 kB / 425.1 MB, free: 9.383 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.2608, allocations: 84.19 kB / 425.1 MB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.866e-05/0.2608, allocations: 47.92 kB / 425.2 MB, free: 9.254 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008748/0.2617, allocations: 1.064 MB / 426.2 MB, free: 8.195 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2617, allocations: 0 / 426.2 MB, free: 8.195 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00319/0.2649, allocations: 1.173 MB / 427.4 MB, free: 7.02 MB / 394.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.0002844/0.2652, allocations: 140 kB / 427.6 MB, free: 6.871 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002273/0.2675, allocations: 2.548 MB / 430.1 MB, free: 4.352 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001541/0.2676, allocations: 96.16 kB / 430.2 MB, free: 4.246 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003196/0.2679, allocations: 319.9 kB / 430.5 MB, free: 3.934 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009251/0.2689, allocations: 298.1 kB / 430.8 MB, free: 3.645 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007797/0.2767, allocations: 7.241 MB / 438 MB, free: 12.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009577/0.2776, allocations: 1.208 MB / 439.3 MB, free: 11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001186/0.2788, allocations: 0.5106 MB / 439.8 MB, free: 10.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005742/0.2794, allocations: 475.3 kB / 440.2 MB, free: 10.03 MB / 410.7 MB Notification: Performance of SimCode: time 1.653e-06/0.2794, allocations: 0 / 440.2 MB, free: 10.03 MB / 410.7 MB Notification: Performance of Templates: time 0.03923/0.3186, allocations: 19.75 MB / 460 MB, free: 6.371 MB / 426.7 MB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7736422000452876]