Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001647/0.001647, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.001917/0.001917, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 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.014/1.014, allocations: 177 MB / 205.2 MB, free: 5.055 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2521/0.2521, allocations: 34.86 MB / 296.6 MB, free: 452 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 325.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.19e-05, allocations: 5.406 kB / 325.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.009128/0.00915, allocations: 11.24 MB / 337.2 MB, free: 11.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009023/0.01817, allocations: 4.159 MB / 341.3 MB, free: 7.664 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005307/0.02348, allocations: 87.69 kB / 341.4 MB, free: 7.578 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006192/0.02967, allocations: 1.751 MB / 343.2 MB, free: 5.82 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006749/0.03642, allocations: 1.61 MB / 344.8 MB, free: 4.203 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005024/0.04144, allocations: 1.243 MB / 346 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007708/0.04915, allocations: 3.425 MB / 349.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005896/0.05505, allocations: 2.125 MB / 351.6 MB, free: 13.33 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006046/0.06109, allocations: 1.723 MB / 353.3 MB, free: 11.61 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005326/0.06642, allocations: 1.558 MB / 354.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006607/0.06708, allocations: 236 kB / 355.1 MB, free: 9.812 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004219/0.0713, allocations: 0.6982 MB / 355.8 MB, free: 9.113 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001382/0.07268, allocations: 1.655 MB / 357.5 MB, free: 7.453 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001256/0.07394, allocations: 0.9457 MB / 358.4 MB, free: 6.504 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007552/0.08149, allocations: 3.809 MB / 362.2 MB, free: 2.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.0815, allocations: 0 / 362.2 MB, free: 2.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.0815, allocations: 3.938 kB / 362.2 MB, free: 2.676 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001756/0.08168, allocations: 0 / 362.2 MB, free: 2.676 MB / 330.7 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.004366/0.08604, allocations: 3.756 MB / 366 MB, free: 14.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.08608, allocations: 12.03 kB / 366 MB, free: 14.85 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003431/0.08951, allocations: 1.312 MB / 367.3 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002062/0.09157, allocations: 1.399 MB / 368.7 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.186e-05/0.09166, allocations: 193.1 kB / 368.9 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003064/0.09197, allocations: 248.2 kB / 369.1 MB, free: 11.67 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00517/0.09714, allocations: 4.671 MB / 373.8 MB, free: 6.344 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.683e-05/0.0972, allocations: 31.69 kB / 373.8 MB, free: 6.312 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002251/0.09742, allocations: 127.8 kB / 373.9 MB, free: 6.188 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001837/0.09926, allocations: 2.021 MB / 376 MB, free: 4.168 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003759/0.103, allocations: 2.476 MB / 378.4 MB, free: 1.672 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02278/0.1258, allocations: 29.32 MB / 407.8 MB, free: 3.223 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002216/0.128, allocations: 1.239 MB / 409 MB, free: 1.926 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003725/0.1284, allocations: 290.4 kB / 409.3 MB, free: 1.625 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004111/0.1325, allocations: 3.473 MB / 412.8 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.1325, allocations: 51.14 kB / 412.8 MB, free: 14.06 MB / 394.7 MB Notification: Performance of pre-optimization done (n=150): time 3.126e-06/0.1325, allocations: 4 kB / 412.8 MB, free: 14.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=150): time 0.002554/0.1351, allocations: 1.402 MB / 414.2 MB, free: 12.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.1351, allocations: 166.9 kB / 414.4 MB, free: 12.46 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/0.137, allocations: 2.71 MB / 417.1 MB, free: 9.738 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.834e-05/0.1371, allocations: 49.69 kB / 417.1 MB, free: 9.684 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001408/0.1385, allocations: 3.217 MB / 420.4 MB, free: 6.434 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003092/0.1388, allocations: 0.6125 MB / 421 MB, free: 5.816 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009175/0.1397, allocations: 1.223 MB / 422.2 MB, free: 4.582 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.959e-05/0.1398, allocations: 353.8 kB / 422.5 MB, free: 4.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007226/0.1405, allocations: 0.6776 MB / 423.2 MB, free: 3.547 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0025/0.143, allocations: 4.655 MB / 427.9 MB, free: 12.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004189/0.1472, allocations: 6.099 MB / 434 MB, free: 4.637 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.954e-05/0.1473, allocations: 40 kB / 434 MB, free: 4.598 MB / 410.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.004692/0.152, allocations: 4.285 MB / 438.3 MB, free: 320 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.921e-05/0.152, allocations: 76.05 kB / 438.4 MB, free: 244 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.146e-05/0.1521, allocations: 152.1 kB / 438.5 MB, free: 92 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001186/0.1522, allocations: 192 kB / 438.7 MB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002368/0.1546, allocations: 1.466 MB / 440.2 MB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001459/0.1547, allocations: 290.8 kB / 440.4 MB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002207/0.157, allocations: 0.853 MB / 441.3 MB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002946/0.1572, allocations: 344 kB / 441.6 MB, free: 12.95 MB / 426.7 MB 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.001073/0.1583, allocations: 0.6402 MB / 442.3 MB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/0.1586, allocations: 175.8 kB / 442.4 MB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004253/0.159, allocations: 320.4 kB / 442.8 MB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-05/0.159, allocations: 32 kB / 442.8 MB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.159, allocations: 4 kB / 442.8 MB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.159, allocations: 11.91 kB / 442.8 MB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003218/0.1623, allocations: 2.832 MB / 445.6 MB, free: 8.828 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.1623, allocations: 4 kB / 445.6 MB, free: 8.824 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004718/0.1627, allocations: 171.8 kB / 445.8 MB, free: 8.656 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.1627, allocations: 8.656 kB / 445.8 MB, free: 8.648 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.747e-05/0.1628, allocations: 31.98 kB / 445.9 MB, free: 8.617 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/0.1628, allocations: 19.94 kB / 445.9 MB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.1628, allocations: 4 kB / 445.9 MB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008952/0.1637, allocations: 1.218 MB / 447.1 MB, free: 7.289 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000229/0.1639, allocations: 277.6 kB / 447.4 MB, free: 7.016 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.1641, allocations: 24 kB / 447.4 MB, free: 6.992 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/0.1645, allocations: 20 kB / 447.4 MB, free: 6.973 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.1646, allocations: 88.17 kB / 447.5 MB, free: 6.887 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-05/0.1647, allocations: 40 kB / 447.5 MB, free: 6.848 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008252/0.1655, allocations: 1.03 MB / 448.6 MB, free: 5.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1655, allocations: 7.875 kB / 448.6 MB, free: 5.812 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003004/0.1685, allocations: 1.099 MB / 449.7 MB, free: 4.707 MB / 426.7 MB 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.0002679/0.1688, allocations: 144.1 kB / 449.8 MB, free: 4.555 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002514/0.1713, allocations: 2.458 MB / 452.3 MB, free: 2.117 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001554/0.1714, allocations: 104.2 kB / 452.4 MB, free: 2.004 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000326/0.1718, allocations: 319.1 kB / 452.7 MB, free: 1.695 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009112/0.1727, allocations: 299.6 kB / 453 MB, free: 1.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1378/0.3105, allocations: 6.91 MB / 459.9 MB, free: 124.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008861/0.3113, allocations: 1.148 MB / 461 MB, free: 124.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001227/0.3126, allocations: 0.4907 MB / 461.5 MB, free: 124.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005605/0.3131, allocations: 461.8 kB / 462 MB, free: 124.1 MB / 426.7 MB Notification: Performance of SimCode: time 2.104e-06/0.3131, allocations: 0 / 462 MB, free: 124.1 MB / 426.7 MB Notification: Performance of Templates: time 0.03193/0.3451, allocations: 19.36 MB / 481.3 MB, free: 108.9 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.7257419950328767]