Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.001532/0.001532, 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.001319/0.001319, allocations: 165.5 kB / 25.61 MB, free: 8.578 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.9624/0.9624, allocations: 177 MB / 205.9 MB, free: 4.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.1456/0.1456, 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.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.017e-05/3.198e-05, allocations: 2.875 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.007761/0.007793, allocations: 9.8 MB / 389.8 MB, free: 12.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00595/0.01374, allocations: 3.772 MB / 393.6 MB, free: 9.105 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001934/0.01568, allocations: 75.62 kB / 393.7 MB, free: 9.031 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002577/0.01825, allocations: 2.192 MB / 395.8 MB, free: 6.832 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003515/0.02177, allocations: 1.789 MB / 397.6 MB, free: 5.035 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.02309, allocations: 0.76 MB / 398.4 MB, free: 4.273 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004336/0.02743, allocations: 4.403 MB / 402.8 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002853/0.03028, allocations: 2.503 MB / 405.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002814/0.03309, allocations: 2.471 MB / 407.8 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002079/0.03517, allocations: 2.022 MB / 409.8 MB, free: 8.797 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004415/0.03561, allocations: 272 kB / 410.1 MB, free: 8.531 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.03714, allocations: 1.127 MB / 411.2 MB, free: 7.402 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001246/0.03839, allocations: 1.788 MB / 413 MB, free: 5.609 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001336/0.03972, allocations: 1.075 MB / 414 MB, free: 4.531 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005267/0.04499, allocations: 4.243 MB / 418.3 MB, free: 280 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.04499, allocations: 0 / 418.3 MB, free: 280 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.045, allocations: 4 kB / 418.3 MB, free: 276 kB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001531/0.04515, allocations: 0 / 418.3 MB, free: 276 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.006005/0.05115, allocations: 4.473 MB / 422.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.05121, allocations: 12.03 kB / 422.8 MB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007362/0.05857, allocations: 1.949 MB / 424.7 MB, free: 9.766 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003214/0.06178, allocations: 1.802 MB / 426.5 MB, free: 7.902 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.06193, allocations: 193.3 kB / 426.7 MB, free: 7.711 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006069/0.06254, allocations: 276.5 kB / 427 MB, free: 7.441 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006579/0.06912, allocations: 4.901 MB / 431.9 MB, free: 1.672 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.976e-05/0.0692, allocations: 43.67 kB / 431.9 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002423/0.06944, allocations: 131.9 kB / 432.1 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001373/0.07081, allocations: 1.532 MB / 433.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004723/0.07553, allocations: 2.204 MB / 435.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05952/0.1351, allocations: 37.39 MB / 473.2 MB, free: 7.105 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004424/0.1395, allocations: 1.592 MB / 474.8 MB, free: 5.469 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007429/0.1402, allocations: 433 kB / 475.2 MB, free: 5.031 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00642/0.1466, allocations: 3.695 MB / 478.9 MB, free: 1.301 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.184e-05/0.1467, allocations: 50.39 kB / 478.9 MB, free: 1.242 MB / 394.7 MB Notification: Performance of pre-optimization done (n=137): time 6.222e-06/0.1467, allocations: 0 / 478.9 MB, free: 1.242 MB / 394.7 MB Notification: Performance of matching and sorting (n=169): time 0.0203/0.167, allocations: 8.251 MB / 487.2 MB, free: 8.938 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.273e-05/0.1671, allocations: 200.9 kB / 487.4 MB, free: 8.695 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002914/0.17, allocations: 3.368 MB / 490.8 MB, free: 5.309 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-05/0.1701, allocations: 45.7 kB / 490.8 MB, free: 5.258 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001441/0.1715, allocations: 3.162 MB / 494 MB, free: 2.062 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004428/0.172, allocations: 0.7095 MB / 494.7 MB, free: 1.348 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001059/0.173, allocations: 1.331 MB / 496 MB, free: 0 / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.1736/0.3466, allocations: 476.8 kB / 496.5 MB, free: 109.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002246/0.3488, allocations: 0.585 MB / 497.1 MB, free: 109.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002765/0.3516, allocations: 6.144 MB / 0.4914 GB, free: 102.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005436/0.357, allocations: 7.319 MB / 0.4986 GB, free: 95.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001501/0.3572, allocations: 39.56 kB / 0.4986 GB, free: 95.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.008568/0.3657, allocations: 5.113 MB / 0.5036 GB, free: 94.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.614e-05/0.3658, allocations: 63.53 kB / 0.5036 GB, free: 94.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001578/0.366, allocations: 130.4 kB / 0.5038 GB, free: 94.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002081/0.3681, allocations: 0.7134 MB / 0.5045 GB, free: 94.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002375/0.3704, allocations: 1.319 MB / 0.5058 GB, free: 94.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003563/0.374, allocations: 3.659 MB / 0.5093 GB, free: 91.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003867/0.3779, allocations: 266.7 kB / 0.5096 GB, free: 91.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005626/0.3784, allocations: 314.6 kB / 0.5099 GB, free: 91.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (730): * Single equations (assignments): 726 * 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,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001362/0.3798, allocations: 0.652 MB / 0.5105 GB, free: 90.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005393/0.3803, allocations: 359.8 kB / 0.5109 GB, free: 90.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/0.3825, allocations: 1.36 MB / 0.5122 GB, free: 89.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/0.3826, allocations: 16 kB / 0.5122 GB, free: 89.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.3826, allocations: 12 kB / 0.5122 GB, free: 89.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.3826, allocations: 7.5 kB / 0.5122 GB, free: 89.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006499/0.3891, allocations: 4.481 MB / 0.5166 GB, free: 86.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.3891, allocations: 7.094 kB / 0.5166 GB, free: 86.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005415/0.3896, allocations: 202.1 kB / 0.5168 GB, free: 86.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0016/0.3912, allocations: 0.5305 MB / 0.5173 GB, free: 86.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.341e-05/0.3913, allocations: 35.94 kB / 0.5174 GB, free: 86.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002669/0.394, allocations: 3.221 MB / 0.5205 GB, free: 83.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.394, allocations: 4 kB / 0.5205 GB, free: 83.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003124/0.3971, allocations: 2.337 MB / 0.5228 GB, free: 80.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000745/0.3979, allocations: 295.1 kB / 0.5231 GB, free: 80.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000254/0.3981, allocations: 31.97 kB / 0.5231 GB, free: 80.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006162/0.3987, allocations: 39.98 kB / 0.5231 GB, free: 80.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001937/0.3989, allocations: 100.8 kB / 0.5232 GB, free: 80.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-05/0.399, allocations: 38.17 kB / 0.5233 GB, free: 80.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001465/0.4005, allocations: 1.329 MB / 0.5246 GB, free: 79.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4005, allocations: 0 / 0.5246 GB, free: 79.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00413/0.4046, allocations: 0.956 MB / 0.5255 GB, free: 78.28 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (revolute.phi,revolute.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 (122): * Single equations (assignments): 118 * 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,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003639/0.4049, allocations: 174.4 kB / 0.5257 GB, free: 78.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003992/0.4089, allocations: 2.821 MB / 0.5284 GB, free: 75.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.4089, allocations: 4.125 kB / 0.5284 GB, free: 75.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007486/0.4097, allocations: 0.7315 MB / 0.5291 GB, free: 74.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/0.4114, allocations: 349 kB / 0.5295 GB, free: 74.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008693/0.4201, allocations: 6.526 MB / 0.5358 GB, free: 67.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008127/0.4209, allocations: 1.096 MB / 0.5369 GB, free: 66.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001195/0.4221, allocations: 465.4 kB / 0.5374 GB, free: 66.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005754/0.4227, allocations: 0.5294 MB / 0.5379 GB, free: 65.61 MB / 410.7 MB Notification: Performance of SimCode: time 1.863e-06/0.4227, allocations: 0 / 0.5379 GB, free: 65.61 MB / 410.7 MB Notification: Performance of Templates: time 0.04363/0.4664, allocations: 32.28 MB / 0.5694 GB, free: 33.86 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.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.6980907381512225]