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.001111/0.001111, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001182/0.001182, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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 0.9573/0.9573, allocations: 177 MB / 204.8 MB, free: 5.621 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.253/0.253, allocations: 34.87 MB / 296.3 MB, free: 0.5469 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.623e-06/1.623e-06, allocations: 0 / 378.7 MB, free: 2.129 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.197e-05/3.359e-05, allocations: 8.359 kB / 378.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.00584/0.005874, allocations: 6.602 MB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00364/0.009514, allocations: 2.387 MB / 387.7 MB, free: 9.086 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006271/0.01014, allocations: 39.81 kB / 387.8 MB, free: 9.047 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001727/0.01187, allocations: 1.117 MB / 388.9 MB, free: 7.926 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001493/0.01336, allocations: 0.8978 MB / 389.8 MB, free: 7.023 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006289/0.01399, allocations: 331 kB / 390.1 MB, free: 6.699 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00189/0.01588, allocations: 1.903 MB / 392 MB, free: 4.793 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.01712, allocations: 1.146 MB / 393.2 MB, free: 3.625 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.01835, allocations: 1.072 MB / 394.2 MB, free: 2.551 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.0195, allocations: 0.9661 MB / 395.2 MB, free: 1.582 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002671/0.01976, allocations: 128 kB / 395.3 MB, free: 1.457 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.02093, allocations: 0.6745 MB / 396 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005941/0.02153, allocations: 0.9892 MB / 397 MB, free: 15.79 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006468/0.02217, allocations: 0.5759 MB / 397.6 MB, free: 15.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00233/0.0245, allocations: 2.47 MB / 400 MB, free: 12.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.02451, allocations: 7.938 kB / 400 MB, free: 12.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.02451, allocations: 0 / 400 MB, free: 12.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.496e-05/0.0246, allocations: 0 / 400 MB, free: 12.72 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.003146/0.02774, allocations: 2.907 MB / 403 MB, free: 9.766 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.02779, allocations: 8.031 kB / 403 MB, free: 9.758 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003303/0.03109, allocations: 1.871 MB / 404.8 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.03228, allocations: 1.009 MB / 405.8 MB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/0.03234, allocations: 119.3 kB / 406 MB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.03251, allocations: 164.2 kB / 406.1 MB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004083/0.0366, allocations: 3.69 MB / 409.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.003e-05/0.03665, allocations: 31.75 kB / 409.8 MB, free: 2.184 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/0.0368, allocations: 75.89 kB / 409.9 MB, free: 2.109 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001194/0.038, allocations: 1.378 MB / 411.3 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003616/0.04161, allocations: 1.896 MB / 413.2 MB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01774/0.05935, allocations: 28.6 MB / 441.8 MB, free: 1.191 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.06118, allocations: 0.8323 MB / 442.6 MB, free: 316 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002795/0.06146, allocations: 228.8 kB / 442.8 MB, free: 72 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1468/0.2083, allocations: 1.906 MB / 444.8 MB, free: 94.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.2083, allocations: 45.73 kB / 444.8 MB, free: 94.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=77): time 3.446e-06/0.2083, allocations: 0 / 444.8 MB, free: 94.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=84): time 0.007949/0.2163, allocations: 4.273 MB / 449.1 MB, free: 92.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.2163, allocations: 145.6 kB / 449.2 MB, free: 92.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002256/0.2186, allocations: 2.402 MB / 451.6 MB, free: 92.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.2186, allocations: 35.77 kB / 451.6 MB, free: 92.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009098/0.2195, allocations: 2.315 MB / 454 MB, free: 90.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/0.2197, allocations: 396.5 kB / 454.3 MB, free: 90.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007913/0.2205, allocations: 0.9499 MB / 455.3 MB, free: 90.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.444e-05/0.2206, allocations: 0.5069 MB / 455.8 MB, free: 90.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007242/0.2213, allocations: 398.8 kB / 456.2 MB, free: 90.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/0.2232, allocations: 4.726 MB / 460.9 MB, free: 84.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0033/0.2265, allocations: 5.65 MB / 466.6 MB, free: 77.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-05/0.2265, allocations: 33.53 kB / 466.6 MB, free: 77.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.006233/0.2328, allocations: 3.687 MB / 470.3 MB, free: 76.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.755e-05/0.2329, allocations: 48.91 kB / 470.3 MB, free: 76.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001639/0.233, allocations: 103.9 kB / 470.4 MB, free: 76.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004855/0.2335, allocations: 194.5 kB / 470.6 MB, free: 76.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002518/0.236, allocations: 0.975 MB / 471.6 MB, free: 76.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.2373, allocations: 1.997 MB / 473.6 MB, free: 74.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002812/0.2401, allocations: 218.2 kB / 473.8 MB, free: 74.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004193/0.2405, allocations: 279 kB / 474.1 MB, free: 74.45 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.001057/0.2416, allocations: 0.5223 MB / 474.6 MB, free: 74.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003628/0.2419, allocations: 217.7 kB / 474.8 MB, free: 73.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006753/0.2426, allocations: 402.2 kB / 475.2 MB, free: 73.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/0.2426, allocations: 9.625 kB / 475.2 MB, free: 73.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.2426, allocations: 3.938 kB / 475.2 MB, free: 73.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.2426, allocations: 10.39 kB / 475.2 MB, free: 73.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004269/0.2469, allocations: 2.497 MB / 477.7 MB, free: 72.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.2469, allocations: 6.469 kB / 477.7 MB, free: 72.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.2472, allocations: 116 kB / 477.9 MB, free: 72.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001411/0.2473, allocations: 52.66 kB / 477.9 MB, free: 72.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.2474, allocations: 17.25 kB / 477.9 MB, free: 72.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006086/0.248, allocations: 1.791 MB / 479.7 MB, free: 70.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.248, allocations: 6.719 kB / 479.7 MB, free: 70.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009573/0.2489, allocations: 1.445 MB / 481.2 MB, free: 69.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/0.2491, allocations: 186 kB / 481.3 MB, free: 69.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.93e-05/0.2492, allocations: 21.41 kB / 481.4 MB, free: 69.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002784/0.2495, allocations: 26.7 kB / 481.4 MB, free: 69.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/0.2496, allocations: 66.81 kB / 481.5 MB, free: 69.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/0.2496, allocations: 30.16 kB / 481.5 MB, free: 69.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008316/0.2505, allocations: 0.9814 MB / 482.5 MB, free: 68.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2505, allocations: 0 / 482.5 MB, free: 68.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002168/0.2526, allocations: 0.5374 MB / 483 MB, free: 68.9 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.0002546/0.2529, allocations: 149.3 kB / 483.2 MB, free: 68.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002397/0.2553, allocations: 1.976 MB / 485.1 MB, free: 67.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.2553, allocations: 1.125 kB / 485.1 MB, free: 67.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.2556, allocations: 407.5 kB / 485.5 MB, free: 67.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000736/0.2563, allocations: 189 kB / 485.7 MB, free: 67.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005189/0.2615, allocations: 4.276 MB / 490 MB, free: 65.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00066/0.2622, allocations: 0.7176 MB / 490.7 MB, free: 65.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001606/0.2638, allocations: 1.169 MB / 491.9 MB, free: 64.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/0.264, allocations: 147.3 kB / 492 MB, free: 64.95 MB / 410.7 MB Notification: Performance of SimCode: time 1.774e-06/0.264, allocations: 0 / 492 MB, free: 64.95 MB / 410.7 MB Notification: Performance of Templates: time 0.02147/0.2855, allocations: 11.88 MB / 0.4921 GB, free: 63.37 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.6785624967887998]