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.0009215/0.0009215, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.0009894/0.0009894, allocations: 160.2 kB / 24.91 MB, free: 8.754 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.9753/0.9753, allocations: 177 MB / 205.2 MB, free: 5.465 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.2771/0.2771, allocations: 34.86 MB / 296.6 MB, free: 0.4961 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.202e-06/1.202e-06, allocations: 0 / 325.9 MB, free: 7.207 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.227e-05/1.348e-05, allocations: 3.953 kB / 325.9 MB, free: 7.203 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.005273/0.005286, allocations: 6.469 MB / 332.4 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003226/0.008513, allocations: 2.451 MB / 334.8 MB, free: 14.24 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003869/0.008899, allocations: 31.88 kB / 334.8 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.01017, allocations: 1.117 MB / 336 MB, free: 13.09 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001102/0.01127, allocations: 0.8978 MB / 336.9 MB, free: 12.19 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.01173, allocations: 327.1 kB / 337.2 MB, free: 11.87 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001384/0.01312, allocations: 1.914 MB / 339.1 MB, free: 9.949 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.01416, allocations: 1.189 MB / 340.3 MB, free: 8.727 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009897/0.01515, allocations: 1.075 MB / 341.4 MB, free: 7.648 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009663/0.01612, allocations: 0.9232 MB / 342.3 MB, free: 6.723 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002049/0.01632, allocations: 128 kB / 342.4 MB, free: 6.598 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006768/0.017, allocations: 0.6668 MB / 343.1 MB, free: 5.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005478/0.01755, allocations: 0.9815 MB / 344.1 MB, free: 4.945 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004549/0.018, allocations: 0.572 MB / 344.6 MB, free: 4.371 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001875/0.01988, allocations: 2.474 MB / 347.1 MB, free: 1.887 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.01988, allocations: 4 kB / 347.1 MB, free: 1.883 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01988, allocations: 0 / 347.1 MB, free: 1.883 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.183e-05/0.01993, allocations: 4 kB / 347.1 MB, free: 1.879 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.002456/0.02239, allocations: 2.467 MB / 349.6 MB, free: 15.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.02242, allocations: 8.031 kB / 349.6 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001961/0.02438, allocations: 0.7421 MB / 350.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008296/0.02521, allocations: 0.8283 MB / 351.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.669e-05/0.02527, allocations: 119.3 kB / 351.3 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/0.02544, allocations: 148.3 kB / 351.4 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002594/0.02804, allocations: 3.022 MB / 354.4 MB, free: 9.996 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/0.02808, allocations: 23.75 kB / 354.5 MB, free: 9.973 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.02821, allocations: 79.89 kB / 354.5 MB, free: 9.895 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009829/0.02919, allocations: 1.242 MB / 355.8 MB, free: 8.652 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001836/0.03103, allocations: 1.554 MB / 357.3 MB, free: 7.094 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01157/0.0426, allocations: 20.32 MB / 377.7 MB, free: 1.934 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.04404, allocations: 0.7519 MB / 378.4 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.04422, allocations: 203.9 kB / 378.6 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001613/0.04583, allocations: 1.701 MB / 380.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.04586, allocations: 46.5 kB / 380.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=77): time 2.014e-06/0.04586, allocations: 0 / 380.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=84): time 0.00456/0.05042, allocations: 2.395 MB / 382.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.05048, allocations: 152.4 kB / 382.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.05161, allocations: 1.882 MB / 384.8 MB, free: 10.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.05165, allocations: 37.7 kB / 384.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007837/0.05243, allocations: 2.127 MB / 386.9 MB, free: 8.398 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.05261, allocations: 373.2 kB / 387.3 MB, free: 8.031 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005563/0.05317, allocations: 0.8184 MB / 388.1 MB, free: 7.199 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.76e-05/0.05325, allocations: 337.9 kB / 388.5 MB, free: 6.863 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004475/0.0537, allocations: 442.6 kB / 388.9 MB, free: 6.422 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/0.05525, allocations: 3.245 MB / 392.1 MB, free: 1.691 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002462/0.05771, allocations: 4.191 MB / 396.3 MB, free: 12.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.833e-05/0.05774, allocations: 32 kB / 396.4 MB, free: 12 MB / 378.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.002578/0.06032, allocations: 2.921 MB / 399.3 MB, free: 9.074 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.336e-05/0.06036, allocations: 55.94 kB / 399.3 MB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.243e-05/0.06042, allocations: 104.8 kB / 399.4 MB, free: 8.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002317/0.06066, allocations: 187.6 kB / 399.6 MB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.06202, allocations: 0.9669 MB / 400.6 MB, free: 7.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007945/0.06282, allocations: 1.424 MB / 402 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.06387, allocations: 203.7 kB / 402.2 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001809/0.06405, allocations: 240 kB / 402.4 MB, free: 5.797 MB / 378.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.0005469/0.0646, allocations: 496.7 kB / 402.9 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.06475, allocations: 115.9 kB / 403 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003534/0.0651, allocations: 347.7 kB / 403.4 MB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.06511, allocations: 12 kB / 403.4 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.06512, allocations: 0 / 403.4 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.06512, allocations: 3.984 kB / 403.4 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/0.06717, allocations: 2.014 MB / 405.4 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.06718, allocations: 12 kB / 405.4 MB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.0674, allocations: 103.8 kB / 405.5 MB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002262/0.06762, allocations: 174 kB / 405.7 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.06765, allocations: 16 kB / 405.7 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005673/0.06822, allocations: 1.23 MB / 406.9 MB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/0.06822, allocations: 11.94 kB / 406.9 MB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007611/0.06898, allocations: 1.103 MB / 408 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.06913, allocations: 182.5 kB / 408.2 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.621e-05/0.06923, allocations: 20.06 kB / 408.2 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.0695, allocations: 16 kB / 408.3 MB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/0.06956, allocations: 59.92 kB / 408.3 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.082e-05/0.06959, allocations: 24 kB / 408.3 MB, free: 15.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005267/0.07011, allocations: 0.7117 MB / 409.1 MB, free: 14.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-08/0.07011, allocations: 0 / 409.1 MB, free: 14.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00152/0.07164, allocations: 0.535 MB / 409.6 MB, free: 14.3 MB / 394.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.0002113/0.07185, allocations: 132.1 kB / 409.7 MB, free: 14.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001408/0.07325, allocations: 1.711 MB / 411.4 MB, free: 12.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.286e-05/0.07335, allocations: 56 kB / 411.5 MB, free: 12.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.07356, allocations: 304.8 kB / 411.8 MB, free: 12.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000641/0.0742, allocations: 186.5 kB / 412 MB, free: 11.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004265/0.07847, allocations: 4.313 MB / 416.3 MB, free: 7.457 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005967/0.07907, allocations: 0.707 MB / 417 MB, free: 6.719 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006586/0.07972, allocations: 320.5 kB / 417.3 MB, free: 6.402 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003037/0.08003, allocations: 327.3 kB / 417.6 MB, free: 6.082 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/0.08003, allocations: 0 / 417.6 MB, free: 6.082 MB / 394.7 MB Notification: Performance of Templates: time 0.02146/0.1015, allocations: 13.09 MB / 430.7 MB, free: 9.168 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.4828894776292145]