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.001058/0.001058, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.001366/0.001366, allocations: 167.8 kB / 24.82 MB, free: 9.273 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.023/1.023, allocations: 177 MB / 205.1 MB, free: 5.477 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.2733/0.2733, allocations: 34.86 MB / 296.6 MB, free: 440 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.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.873e-06/1.873e-06, allocations: 0 / 379.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/2.792e-05, allocations: 3.156 kB / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008681/0.008709, allocations: 6.454 MB / 385.7 MB, free: 11.33 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0051/0.01381, allocations: 2.372 MB / 388 MB, free: 8.953 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008319/0.01464, allocations: 31.88 kB / 388.1 MB, free: 8.922 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002117/0.01676, allocations: 1.105 MB / 389.2 MB, free: 7.812 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001645/0.0184, allocations: 0.8978 MB / 390.1 MB, free: 6.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005585/0.01896, allocations: 327 kB / 390.4 MB, free: 6.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001765/0.02073, allocations: 1.913 MB / 392.3 MB, free: 4.672 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.02177, allocations: 1.135 MB / 393.4 MB, free: 3.516 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.02287, allocations: 1.083 MB / 394.5 MB, free: 2.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.02388, allocations: 0.9778 MB / 395.5 MB, free: 1.449 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.02409, allocations: 124 kB / 395.6 MB, free: 1.328 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008764/0.02496, allocations: 0.6746 MB / 396.3 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005762/0.02554, allocations: 0.9853 MB / 397.3 MB, free: 15.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005168/0.02606, allocations: 0.572 MB / 397.9 MB, free: 15.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002123/0.02818, allocations: 2.482 MB / 400.3 MB, free: 12.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.02818, allocations: 0 / 400.3 MB, free: 12.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.02818, allocations: 0 / 400.3 MB, free: 12.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.549e-05/0.02823, allocations: 4 kB / 400.3 MB, free: 12.59 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.003043/0.03127, allocations: 2.879 MB / 403.2 MB, free: 9.664 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.03132, allocations: 15.97 kB / 403.2 MB, free: 9.648 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002055/0.03337, allocations: 0.9629 MB / 404.2 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009727/0.03435, allocations: 0.9118 MB / 405.1 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.127e-05/0.03441, allocations: 123.3 kB / 405.2 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.03459, allocations: 160.2 kB / 405.4 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003169/0.03775, allocations: 3.416 MB / 408.8 MB, free: 3.387 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.047e-05/0.03781, allocations: 27.75 kB / 408.8 MB, free: 3.359 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/0.03795, allocations: 79.89 kB / 408.9 MB, free: 3.281 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001043/0.039, allocations: 1.238 MB / 410.1 MB, free: 2.047 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002335/0.04133, allocations: 1.516 MB / 411.7 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01773/0.05906, allocations: 28.52 MB / 440.2 MB, free: 2.969 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.06069, allocations: 0.79 MB / 441 MB, free: 2.133 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.06094, allocations: 190.7 kB / 441.2 MB, free: 1.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001999/0.06294, allocations: 1.841 MB / 443 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.166/0.2289, allocations: 53.27 kB / 443 MB, free: 95.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=77): time 7.434e-06/0.2289, allocations: 0 / 443 MB, free: 95.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=84): time 0.006621/0.2355, allocations: 2.638 MB / 445.7 MB, free: 95.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.2356, allocations: 145.6 kB / 445.8 MB, free: 95.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002316/0.2379, allocations: 2.4 MB / 448.2 MB, free: 95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.2379, allocations: 34.7 kB / 448.3 MB, free: 94.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009516/0.2389, allocations: 2.342 MB / 450.6 MB, free: 93.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002681/0.2392, allocations: 391.5 kB / 451 MB, free: 93.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007801/0.2399, allocations: 0.9607 MB / 451.9 MB, free: 93.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.013e-05/0.24, allocations: 0.5172 MB / 452.5 MB, free: 92.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004187/0.2404, allocations: 310 kB / 452.8 MB, free: 92.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001959/0.2424, allocations: 4.676 MB / 457.4 MB, free: 87.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003509/0.2459, allocations: 5.574 MB / 463 MB, free: 81.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.781e-05/0.246, allocations: 31.56 kB / 463 MB, free: 81.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.004627/0.2506, allocations: 3.441 MB / 466.5 MB, free: 80.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.015e-05/0.2507, allocations: 54.44 kB / 466.5 MB, free: 80.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000137/0.2508, allocations: 110.3 kB / 466.6 MB, free: 80.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003485/0.2512, allocations: 188.3 kB / 466.8 MB, free: 80.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/0.253, allocations: 0.9638 MB / 467.8 MB, free: 80.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009473/0.254, allocations: 1.959 MB / 469.8 MB, free: 78.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/0.256, allocations: 206.8 kB / 470 MB, free: 78.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002439/0.2562, allocations: 242.8 kB / 470.2 MB, free: 78.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * 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 (536): * Single equations (assignments): 532 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000787/0.257, allocations: 0.5156 MB / 470.7 MB, free: 77.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00027/0.2573, allocations: 220.5 kB / 470.9 MB, free: 77.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004802/0.2578, allocations: 379 kB / 471.3 MB, free: 77.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.2578, allocations: 12.89 kB / 471.3 MB, free: 77.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.2578, allocations: 7.312 kB / 471.3 MB, free: 77.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.2578, allocations: 3.281 kB / 471.3 MB, free: 77.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/0.2611, allocations: 2.458 MB / 473.8 MB, free: 76.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.2611, allocations: 5.281 kB / 473.8 MB, free: 76.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/0.2614, allocations: 102.1 kB / 473.9 MB, free: 76.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001427/0.2616, allocations: 50.02 kB / 473.9 MB, free: 76.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.229e-05/0.2616, allocations: 21.28 kB / 473.9 MB, free: 76.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006232/0.2622, allocations: 1.757 MB / 475.7 MB, free: 74.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.2622, allocations: 6.469 kB / 475.7 MB, free: 74.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.2633, allocations: 1.38 MB / 477.1 MB, free: 73.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002472/0.2635, allocations: 178.1 kB / 477.3 MB, free: 73.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.2637, allocations: 20.84 kB / 477.3 MB, free: 73.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004095/0.2641, allocations: 22.2 kB / 477.3 MB, free: 73.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.593e-05/0.2642, allocations: 62.78 kB / 477.4 MB, free: 73.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.191e-05/0.2642, allocations: 26.94 kB / 477.4 MB, free: 73.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008074/0.265, allocations: 0.9206 MB / 478.3 MB, free: 72.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.265, allocations: 3.094 kB / 478.3 MB, free: 72.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002533/0.2675, allocations: 0.5368 MB / 478.9 MB, free: 72.69 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (65): * Single equations (assignments): 61 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002383/0.2678, allocations: 146.6 kB / 479 MB, free: 72.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002334/0.2701, allocations: 1.878 MB / 480.9 MB, free: 71.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.2701, allocations: 0 / 480.9 MB, free: 71.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003004/0.2704, allocations: 399.2 kB / 481.3 MB, free: 71.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009974/0.2714, allocations: 187.4 kB / 481.5 MB, free: 71.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006073/0.2775, allocations: 4.252 MB / 485.7 MB, free: 69.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007795/0.2783, allocations: 0.7167 MB / 486.4 MB, free: 68.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000969/0.2792, allocations: 317.1 kB / 486.7 MB, free: 68.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004442/0.2797, allocations: 353.8 kB / 487.1 MB, free: 68.73 MB / 410.7 MB Notification: Performance of SimCode: time 1.353e-06/0.2797, allocations: 1.219 kB / 487.1 MB, free: 68.73 MB / 410.7 MB Notification: Performance of Templates: time 0.02698/0.3067, allocations: 13.11 MB / 0.4885 GB, free: 66.89 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: 3.8339487640187144]