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.001026/0.001026, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001056/0.001056, allocations: 158.9 kB / 25.61 MB, free: 8.902 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 0.9712/0.9712, allocations: 177 MB / 205.9 MB, free: 4.441 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.154/0.154, allocations: 34.87 MB / 297.4 MB, free: 13.33 MB / 282.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.152e-06/1.152e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.242e-05/1.358e-05, allocations: 2.312 kB / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.005478/0.005492, allocations: 6.448 MB / 386.4 MB, free: 16.29 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003365/0.008857, allocations: 2.377 MB / 388.8 MB, free: 13.9 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004825/0.009339, allocations: 35.88 kB / 388.9 MB, free: 13.87 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.01076, allocations: 1.105 MB / 390 MB, free: 12.76 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.01196, allocations: 0.8901 MB / 390.8 MB, free: 11.86 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000505/0.01247, allocations: 335 kB / 391.2 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00139/0.01386, allocations: 1.918 MB / 393.1 MB, free: 9.613 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008141/0.01467, allocations: 1.127 MB / 394.2 MB, free: 8.465 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009035/0.01558, allocations: 1.079 MB / 395.3 MB, free: 7.383 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009173/0.01649, allocations: 0.9778 MB / 396.3 MB, free: 6.402 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001688/0.01666, allocations: 128 kB / 396.4 MB, free: 6.277 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007734/0.01744, allocations: 0.6707 MB / 397.1 MB, free: 5.605 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005587/0.018, allocations: 0.9853 MB / 398.1 MB, free: 4.617 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004177/0.01841, allocations: 0.572 MB / 398.6 MB, free: 4.043 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001786/0.0202, allocations: 2.478 MB / 401.1 MB, free: 1.555 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.0202, allocations: 0 / 401.1 MB, free: 1.555 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.0202, allocations: 0 / 401.1 MB, free: 1.555 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.234e-05/0.02022, allocations: 0 / 401.1 MB, free: 1.555 MB / 314.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.003045/0.02327, allocations: 2.887 MB / 404 MB, free: 14.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.0233, allocations: 8.031 kB / 404 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002933/0.02624, allocations: 0.9707 MB / 405 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.02747, allocations: 0.9157 MB / 405.9 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-05/0.02755, allocations: 115.3 kB / 406 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002446/0.0278, allocations: 164.2 kB / 406.2 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004048/0.03184, allocations: 3.416 MB / 409.6 MB, free: 8.332 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.302e-05/0.0319, allocations: 27.75 kB / 409.6 MB, free: 8.305 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/0.03208, allocations: 79.89 kB / 409.7 MB, free: 8.227 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001399/0.03348, allocations: 1.242 MB / 410.9 MB, free: 6.984 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003086/0.03656, allocations: 1.512 MB / 412.4 MB, free: 5.473 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01669/0.05325, allocations: 28.52 MB / 441 MB, free: 7.914 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.05481, allocations: 0.783 MB / 441.7 MB, free: 7.082 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.05501, allocations: 187.3 kB / 441.9 MB, free: 6.883 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001607/0.05662, allocations: 1.849 MB / 443.8 MB, free: 5.004 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.05665, allocations: 49.27 kB / 443.8 MB, free: 4.945 MB / 362.7 MB Notification: Performance of pre-optimization done (n=77): time 1.793e-06/0.05665, allocations: 4 kB / 443.8 MB, free: 4.941 MB / 362.7 MB Notification: Performance of matching and sorting (n=84): time 0.005139/0.06179, allocations: 2.647 MB / 446.5 MB, free: 2.234 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.06184, allocations: 144.5 kB / 446.6 MB, free: 2.062 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002003/0.06384, allocations: 2.399 MB / 449 MB, free: 15.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.06388, allocations: 37.7 kB / 449 MB, free: 15.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001029/0.0649, allocations: 2.34 MB / 451.4 MB, free: 13.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/0.06511, allocations: 393.3 kB / 451.8 MB, free: 12.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000703/0.06581, allocations: 0.96 MB / 452.7 MB, free: 11.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.06596, allocations: 0.512 MB / 453.2 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/0.0663, allocations: 312.3 kB / 453.5 MB, free: 11.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002704/0.06901, allocations: 4.672 MB / 458.2 MB, free: 4.305 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003707/0.07271, allocations: 5.582 MB / 463.8 MB, free: 12.71 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.791e-05/0.07274, allocations: 28 kB / 463.8 MB, free: 12.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.003694/0.07644, allocations: 3.447 MB / 467.3 MB, free: 9.238 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.924e-05/0.07648, allocations: 48 kB / 467.3 MB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.819e-05/0.07656, allocations: 104.1 kB / 467.4 MB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002693/0.07683, allocations: 191.6 kB / 467.6 MB, free: 8.898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.07821, allocations: 0.9669 MB / 468.6 MB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/0.07923, allocations: 1.955 MB / 470.5 MB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.08044, allocations: 203.8 kB / 470.7 MB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002105/0.08065, allocations: 244 kB / 471 MB, free: 5.418 MB / 394.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.000575/0.08122, allocations: 0.5318 MB / 471.5 MB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.08141, allocations: 218.6 kB / 471.7 MB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000406/0.08182, allocations: 367.5 kB / 472.1 MB, free: 4.289 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.08183, allocations: 8 kB / 472.1 MB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.08184, allocations: 11.92 kB / 472.1 MB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.08184, allocations: 4 kB / 472.1 MB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003058/0.0849, allocations: 2.449 MB / 474.5 MB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.08491, allocations: 4 kB / 474.6 MB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.08513, allocations: 107.8 kB / 474.7 MB, free: 1.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001312/0.08526, allocations: 60.14 kB / 474.7 MB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.08529, allocations: 20 kB / 474.7 MB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008449/0.08613, allocations: 1.757 MB / 476.5 MB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.08614, allocations: 4 kB / 476.5 MB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009474/0.08708, allocations: 1.372 MB / 477.9 MB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.08723, allocations: 186.5 kB / 478.1 MB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.641e-05/0.08733, allocations: 16 kB / 478.1 MB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.0876, allocations: 16 kB / 478.1 MB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/0.08766, allocations: 59.78 kB / 478.1 MB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/0.0877, allocations: 31.94 kB / 478.2 MB, free: 13.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007035/0.0884, allocations: 0.9228 MB / 479.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.0884, allocations: 0 / 479.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001594/0.09, allocations: 0.535 MB / 479.6 MB, free: 12.36 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.0005281/0.09052, allocations: 162.9 kB / 479.8 MB, free: 12.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001595/0.09212, allocations: 1.878 MB / 481.7 MB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.09212, allocations: 0 / 481.7 MB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00028/0.0924, allocations: 386.2 kB / 482 MB, free: 9.906 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007018/0.0931, allocations: 187.3 kB / 482.2 MB, free: 9.723 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004066/0.09717, allocations: 4.263 MB / 486.5 MB, free: 5.312 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008503/0.09802, allocations: 0.7265 MB / 487.2 MB, free: 4.559 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006004/0.09862, allocations: 316.5 kB / 487.5 MB, free: 4.246 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.09891, allocations: 350.2 kB / 487.9 MB, free: 3.902 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.09891, allocations: 0 / 487.9 MB, free: 3.902 MB / 410.7 MB Notification: Performance of Templates: time 0.02234/0.1213, allocations: 13.42 MB / 0.4895 GB, free: 6.758 MB / 426.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.023602394852787]