Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.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.001403/0.001403, allocations: 83.67 kB / 21.7 MB, free: 2.852 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.001266/0.001266, allocations: 160.4 kB / 24.99 MB, free: 9.289 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.052/1.052, allocations: 177 MB / 205.2 MB, free: 5.594 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.2603/0.2603, allocations: 34.86 MB / 296.6 MB, free: 0.5547 MB / 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.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 378.7 MB, free: 2.453 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.822e-05, allocations: 3.016 kB / 378.7 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.00571/0.005728, allocations: 6.597 MB / 385.3 MB, free: 11.82 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003776/0.009505, allocations: 2.379 MB / 387.7 MB, free: 9.434 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006372/0.01014, allocations: 35.88 kB / 387.7 MB, free: 9.398 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.01171, allocations: 1.117 MB / 388.9 MB, free: 8.277 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.0131, allocations: 0.8901 MB / 389.7 MB, free: 7.383 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008706/0.01397, allocations: 323 kB / 390.1 MB, free: 7.066 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002016/0.01599, allocations: 1.907 MB / 392 MB, free: 5.152 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.01726, allocations: 1.127 MB / 393.1 MB, free: 4.004 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.01837, allocations: 1.052 MB / 394.2 MB, free: 2.949 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/0.01958, allocations: 0.9934 MB / 395.1 MB, free: 1.953 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002339/0.01982, allocations: 132 kB / 395.3 MB, free: 1.824 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008551/0.02067, allocations: 0.6707 MB / 395.9 MB, free: 1.152 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006099/0.02128, allocations: 0.9892 MB / 396.9 MB, free: 164 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000535/0.02182, allocations: 0.5798 MB / 397.5 MB, free: 15.58 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002262/0.02408, allocations: 2.486 MB / 400 MB, free: 13.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.02408, allocations: 0 / 400 MB, free: 13.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.02409, allocations: 0 / 400 MB, free: 13.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.585e-05/0.02417, allocations: 0 / 400 MB, free: 13.08 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.003253/0.02743, allocations: 2.903 MB / 402.9 MB, free: 10.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.02747, allocations: 15.97 kB / 402.9 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003292/0.03076, allocations: 1.875 MB / 404.8 MB, free: 8.234 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.03195, allocations: 0.9705 MB / 405.8 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-05/0.03201, allocations: 115.3 kB / 405.9 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/0.03222, allocations: 156.2 kB / 406 MB, free: 6.969 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003973/0.03619, allocations: 3.725 MB / 409.8 MB, free: 2.582 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.327e-05/0.03625, allocations: 31.73 kB / 409.8 MB, free: 2.551 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001932/0.03644, allocations: 75.89 kB / 409.9 MB, free: 2.477 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001939/0.03838, allocations: 1.441 MB / 411.3 MB, free: 1.039 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003863/0.04224, allocations: 1.989 MB / 413.3 MB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02002/0.06226, allocations: 28.49 MB / 441.8 MB, free: 1.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002108/0.06437, allocations: 0.9467 MB / 442.7 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004044/0.06477, allocations: 319.2 kB / 443 MB, free: 248 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/0.06495, allocations: 104.3 kB / 443.1 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.06499, allocations: 45.38 kB / 443.2 MB, free: 88 kB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 3.436e-06/0.06499, allocations: 0 / 443.2 MB, free: 88 kB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.1603/0.2253, allocations: 6.258 MB / 449.4 MB, free: 98.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.2253, allocations: 144.2 kB / 449.6 MB, free: 98.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00198/0.2273, allocations: 2.322 MB / 451.9 MB, free: 97.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.934e-05/0.2274, allocations: 44.59 kB / 451.9 MB, free: 97.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007687/0.2282, allocations: 2.236 MB / 454.2 MB, free: 96.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/0.2284, allocations: 471.8 kB / 454.6 MB, free: 96.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006704/0.2291, allocations: 0.9392 MB / 455.6 MB, free: 95.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.796e-05/0.2292, allocations: 0.5089 MB / 456.1 MB, free: 95.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006579/0.2298, allocations: 442.5 kB / 456.5 MB, free: 95.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/0.2314, allocations: 4.551 MB / 461.1 MB, free: 89.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002855/0.2342, allocations: 5.512 MB / 466.6 MB, free: 83.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.66e-05/0.2343, allocations: 29 kB / 466.6 MB, free: 83.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.004099/0.2384, allocations: 3.811 MB / 470.4 MB, free: 81.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.685e-05/0.2384, allocations: 51.83 kB / 470.5 MB, free: 81.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-05/0.2385, allocations: 100.5 kB / 470.6 MB, free: 81.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006354/0.2391, allocations: 323.2 kB / 470.9 MB, free: 81.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.2406, allocations: 0.9801 MB / 471.9 MB, free: 81.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/0.2424, allocations: 2.713 MB / 474.6 MB, free: 79.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.2439, allocations: 229.5 kB / 474.8 MB, free: 79.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/0.2441, allocations: 273.9 kB / 475.1 MB, free: 79.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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 (527): * Single equations (assignments): 523 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006744/0.2448, allocations: 0.5066 MB / 475.6 MB, free: 78.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002475/0.245, allocations: 233.5 kB / 475.8 MB, free: 78.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.2461, allocations: 0.7075 MB / 476.5 MB, free: 78.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/0.2461, allocations: 12.75 kB / 476.5 MB, free: 78.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.2461, allocations: 3.25 kB / 476.5 MB, free: 78.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.2461, allocations: 3.328 kB / 476.5 MB, free: 78.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004706/0.2508, allocations: 3.061 MB / 479.6 MB, free: 77.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.2508, allocations: 0 / 479.6 MB, free: 77.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004528/0.2513, allocations: 140.8 kB / 479.7 MB, free: 77.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000575/0.2518, allocations: 188.2 kB / 479.9 MB, free: 77.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.333e-05/0.2519, allocations: 20.38 kB / 479.9 MB, free: 77.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.2534, allocations: 2.165 MB / 482.1 MB, free: 75.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.2534, allocations: 1.344 kB / 482.1 MB, free: 75.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002169/0.2556, allocations: 1.621 MB / 483.7 MB, free: 74.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002491/0.2558, allocations: 177.7 kB / 483.9 MB, free: 74.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/0.256, allocations: 18.72 kB / 483.9 MB, free: 74.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005304/0.2565, allocations: 48.97 kB / 484 MB, free: 74.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.2567, allocations: 55.94 kB / 484 MB, free: 74.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-05/0.2567, allocations: 32.89 kB / 484.1 MB, free: 74.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001206/0.2579, allocations: 0.9463 MB / 485 MB, free: 73.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2579, allocations: 0 / 485 MB, free: 73.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003203/0.2611, allocations: 0.5873 MB / 485.6 MB, free: 73.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * 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 (77): * Single equations (assignments): 73 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003019/0.2614, allocations: 137.5 kB / 485.7 MB, free: 73.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003267/0.2647, allocations: 2.095 MB / 487.8 MB, free: 72.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2647, allocations: 1.562 kB / 487.8 MB, free: 72.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006182/0.2653, allocations: 0.5197 MB / 488.3 MB, free: 72.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.2663, allocations: 179 kB / 488.5 MB, free: 72.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006465/0.2728, allocations: 4.408 MB / 492.9 MB, free: 70.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007437/0.2736, allocations: 0.7323 MB / 493.7 MB, free: 69.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002035/0.2756, allocations: 1.19 MB / 494.8 MB, free: 69.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/0.2759, allocations: 136.9 kB / 495 MB, free: 69.76 MB / 410.7 MB Notification: Performance of SimCode: time 1.563e-06/0.2759, allocations: 0 / 495 MB, free: 69.76 MB / 410.7 MB Notification: Performance of Templates: time 0.02747/0.3034, allocations: 16.41 MB / 0.4994 GB, free: 60.78 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.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: 4.063163518207148]