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.002347/0.002347, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002546/0.002546, allocations: 160.8 kB / 24.27 MB, free: 152 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 1.597/1.597, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.3508/0.3508, allocations: 34.25 MB / 295.2 MB, free: 0.6328 MB / 266.7 MB " [Timeout remaining time 179] 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 2.475e-06/2.475e-06, allocations: 0 / 377.2 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.371e-05/4.619e-05, allocations: 8.5 kB / 377.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01759/0.01764, allocations: 6.544 MB / 383.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009788/0.02742, allocations: 2.387 MB / 386.1 MB, free: 9.965 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.02874, allocations: 35.81 kB / 386.2 MB, free: 9.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00468/0.03342, allocations: 1.117 MB / 387.3 MB, free: 8.809 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004811/0.03823, allocations: 0.8862 MB / 388.2 MB, free: 7.918 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.04017, allocations: 335 kB / 388.5 MB, free: 7.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005427/0.04559, allocations: 1.906 MB / 390.4 MB, free: 5.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002625/0.04822, allocations: 1.123 MB / 391.5 MB, free: 4.535 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002576/0.05079, allocations: 1.048 MB / 392.6 MB, free: 3.484 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002963/0.05376, allocations: 0.9934 MB / 393.6 MB, free: 2.488 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004817/0.05424, allocations: 131.9 kB / 393.7 MB, free: 2.359 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002518/0.05676, allocations: 0.6746 MB / 394.4 MB, free: 1.684 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00148/0.05824, allocations: 0.9931 MB / 395.4 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.05929, allocations: 0.572 MB / 395.9 MB, free: 116 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005326/0.06461, allocations: 3.671 MB / 399.6 MB, free: 12.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.06462, allocations: 0 / 399.6 MB, free: 12.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.06462, allocations: 0 / 399.6 MB, free: 12.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.955e-05/0.06471, allocations: 0 / 399.6 MB, free: 12.43 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.006429/0.07114, allocations: 3.141 MB / 402.7 MB, free: 9.234 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.07119, allocations: 12.03 kB / 402.8 MB, free: 9.223 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006425/0.07761, allocations: 1.879 MB / 404.6 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002752/0.08036, allocations: 0.9899 MB / 405.6 MB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.0805, allocations: 119.3 kB / 405.7 MB, free: 6.203 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003896/0.08088, allocations: 160.2 kB / 405.9 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008278/0.08916, allocations: 3.979 MB / 409.9 MB, free: 1.406 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.493e-05/0.08924, allocations: 23.75 kB / 409.9 MB, free: 1.383 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002566/0.08949, allocations: 79.89 kB / 410 MB, free: 1.305 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002931/0.09243, allocations: 1.441 MB / 411.4 MB, free: 15.87 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007352/0.09978, allocations: 2.246 MB / 413.7 MB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2247/0.3245, allocations: 30.47 MB / 444.1 MB, free: 74.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003195/0.3277, allocations: 0.9979 MB / 445.1 MB, free: 74.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005007/0.3282, allocations: 326.8 kB / 445.4 MB, free: 74.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002509/0.3285, allocations: 108.2 kB / 445.6 MB, free: 74.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.3285, allocations: 46.17 kB / 445.6 MB, free: 74.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 2.775e-06/0.3285, allocations: 0 / 445.6 MB, free: 74.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.01836/0.3469, allocations: 6.334 MB / 451.9 MB, free: 72.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.307e-05/0.3469, allocations: 151.8 kB / 452.1 MB, free: 72.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003253/0.3502, allocations: 2.879 MB / 455 MB, free: 72.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.06e-05/0.3503, allocations: 43.11 kB / 455 MB, free: 72.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001003/0.3513, allocations: 2.368 MB / 457.4 MB, free: 70.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003331/0.3516, allocations: 0.4885 MB / 457.9 MB, free: 70.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001078/0.3527, allocations: 1.11 MB / 459 MB, free: 70.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3528, allocations: 0.5249 MB / 459.5 MB, free: 69.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008687/0.3536, allocations: 481.6 kB / 460 MB, free: 69.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002201/0.3558, allocations: 4.723 MB / 464.7 MB, free: 63.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00386/0.3597, allocations: 5.717 MB / 470.4 MB, free: 57.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.03e-05/0.3598, allocations: 28 kB / 470.4 MB, free: 57.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.00611/0.3659, allocations: 3.887 MB / 474.3 MB, free: 56.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.398e-05/0.3659, allocations: 47.56 kB / 474.4 MB, free: 56.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.907e-05/0.366, allocations: 96.03 kB / 474.5 MB, free: 56.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009935/0.367, allocations: 330.5 kB / 474.8 MB, free: 56.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002387/0.3694, allocations: 0.9775 MB / 475.8 MB, free: 56.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002459/0.3719, allocations: 2.775 MB / 478.5 MB, free: 53.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/0.3744, allocations: 228.6 kB / 478.8 MB, free: 53.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000445/0.3749, allocations: 267.9 kB / 479 MB, free: 53.67 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.001271/0.3761, allocations: 0.5859 MB / 479.6 MB, free: 53.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003786/0.3765, allocations: 222.4 kB / 479.8 MB, free: 53.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/0.3782, allocations: 0.7269 MB / 480.5 MB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.201e-05/0.3783, allocations: 12.75 kB / 480.6 MB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.3783, allocations: 4.953 kB / 480.6 MB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.3783, allocations: 8.031 kB / 480.6 MB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006948/0.3852, allocations: 3.585 MB / 484.2 MB, free: 51.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.3852, allocations: 1.094 kB / 484.2 MB, free: 51.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006533/0.3859, allocations: 142.3 kB / 484.3 MB, free: 51.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008225/0.3867, allocations: 196.9 kB / 484.5 MB, free: 51.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.7e-05/0.3868, allocations: 14.81 kB / 484.5 MB, free: 51.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001992/0.3888, allocations: 2.211 MB / 486.7 MB, free: 49.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.3888, allocations: 8.406 kB / 486.7 MB, free: 49.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002736/0.3915, allocations: 1.684 MB / 488.4 MB, free: 48.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004001/0.3919, allocations: 186.4 kB / 488.6 MB, free: 48.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/0.3921, allocations: 16.25 kB / 488.6 MB, free: 48.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006805/0.3928, allocations: 50.17 kB / 488.7 MB, free: 48.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.393, allocations: 54.81 kB / 488.7 MB, free: 48.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.581e-05/0.393, allocations: 34.47 kB / 488.7 MB, free: 48.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001741/0.3948, allocations: 1.129 MB / 489.9 MB, free: 47.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3948, allocations: 0 / 489.9 MB, free: 47.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003409/0.3982, allocations: 0.5841 MB / 490.5 MB, free: 47.52 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.000321/0.3985, allocations: 142.8 kB / 490.6 MB, free: 47.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003885/0.4024, allocations: 2.317 MB / 492.9 MB, free: 46.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4024, allocations: 0 / 492.9 MB, free: 46.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006687/0.4031, allocations: 0.5559 MB / 493.5 MB, free: 46.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.4042, allocations: 182 kB / 493.6 MB, free: 46.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006921/0.4111, allocations: 4.454 MB / 498.1 MB, free: 43.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/0.4125, allocations: 1.423 MB / 499.5 MB, free: 43.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002216/0.4148, allocations: 1.192 MB / 0.489 GB, free: 43.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003193/0.4151, allocations: 140 kB / 0.4891 GB, free: 43.34 MB / 410.7 MB Notification: Performance of SimCode: time 2.114e-06/0.4151, allocations: 3.156 kB / 0.4891 GB, free: 43.34 MB / 410.7 MB Notification: Performance of Templates: time 0.03064/0.4457, allocations: 16.41 MB / 0.5051 GB, free: 32.68 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.114168744999915]