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.0008122/0.0008122, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001287/0.002099, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007379/0.0007379, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009173/0.001655, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9374/0.9374, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08259/1.02, allocations: 53.87 MB / 243.8 MB, free: 14.89 MB / 250.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.2662/0.2662, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02125/0.2875, allocations: 13.23 MB / 292.6 MB, free: 6.465 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.142e-06/1.142e-06, allocations: 0 / 293.9 MB, free: 5.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.66e-05/1.774e-05, allocations: 4.562 kB / 293.9 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.00788/0.007897, allocations: 9.917 MB / 303.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00676/0.01466, allocations: 3.942 MB / 307.7 MB, free: 7.254 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/0.0159, allocations: 75.62 kB / 307.8 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002374/0.01828, allocations: 2.114 MB / 309.9 MB, free: 5.059 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003168/0.02144, allocations: 1.761 MB / 311.7 MB, free: 3.289 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.02257, allocations: 0.7025 MB / 312.4 MB, free: 2.586 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004049/0.02661, allocations: 4.143 MB / 316.5 MB, free: 14.44 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002064/0.02868, allocations: 2.281 MB / 318.8 MB, free: 12.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00287/0.03155, allocations: 2.392 MB / 321.2 MB, free: 9.691 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001899/0.03345, allocations: 1.921 MB / 323.1 MB, free: 7.766 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003741/0.03382, allocations: 272 kB / 323.4 MB, free: 7.5 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.0352, allocations: 1.162 MB / 324.6 MB, free: 6.336 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001051/0.03625, allocations: 1.601 MB / 326.2 MB, free: 4.73 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009505/0.03721, allocations: 0.8762 MB / 327 MB, free: 3.852 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004053/0.04126, allocations: 3.892 MB / 330.9 MB, free: 15.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.558e-05/0.04127, allocations: 0 / 330.9 MB, free: 15.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.04127, allocations: 0 / 330.9 MB, free: 15.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001015/0.04138, allocations: 0 / 330.9 MB, free: 15.95 MB / 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.005683/0.04706, allocations: 4.772 MB / 335.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.0471, allocations: 8.922 kB / 335.7 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003344/0.05044, allocations: 1.113 MB / 336.8 MB, free: 9.984 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002379/0.05282, allocations: 1.681 MB / 338.5 MB, free: 8.242 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.694e-05/0.05292, allocations: 193.3 kB / 338.7 MB, free: 8.051 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003727/0.05329, allocations: 276.5 kB / 339 MB, free: 7.781 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005282/0.05857, allocations: 4.346 MB / 343.3 MB, free: 2.781 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.236e-05/0.05865, allocations: 39.64 kB / 343.3 MB, free: 2.742 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002092/0.05886, allocations: 127.9 kB / 343.5 MB, free: 2.617 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001262/0.06012, allocations: 1.54 MB / 345 MB, free: 1.078 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003575/0.06369, allocations: 2.185 MB / 347.2 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02077/0.08446, allocations: 26.81 MB / 374 MB, free: 3.031 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002893/0.08736, allocations: 1.426 MB / 375.4 MB, free: 1.562 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000435/0.08779, allocations: 347 kB / 375.8 MB, free: 1.211 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004579/0.09237, allocations: 3.438 MB / 379.2 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.0924, allocations: 51.5 kB / 379.3 MB, free: 13.69 MB / 378.7 MB Notification: Performance of pre-optimization done (n=137): time 4.177e-06/0.0924, allocations: 4 kB / 379.3 MB, free: 13.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=169): time 0.01671/0.1091, allocations: 7.218 MB / 386.5 MB, free: 6.418 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.1092, allocations: 149.5 kB / 386.6 MB, free: 6.242 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002426/0.1116, allocations: 3.014 MB / 389.6 MB, free: 3.215 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001279/0.1117, allocations: 45.7 kB / 389.7 MB, free: 3.164 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001336/0.1131, allocations: 2.806 MB / 392.5 MB, free: 332 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004289/0.1135, allocations: 0.6746 MB / 393.2 MB, free: 15.64 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000831/0.1143, allocations: 1.136 MB / 394.3 MB, free: 14.49 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.266e-05/0.1144, allocations: 301.1 kB / 394.6 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.1154, allocations: 0.7621 MB / 395.4 MB, free: 13.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002674/0.1181, allocations: 4.368 MB / 399.7 MB, free: 7.199 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004918/0.123, allocations: 5.588 MB / 405.3 MB, free: 15.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.7e-05/0.1231, allocations: 40 kB / 405.3 MB, free: 15.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.007112/0.1302, allocations: 4.372 MB / 409.7 MB, free: 11.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.183e-05/0.1303, allocations: 63.94 kB / 409.8 MB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001183/0.1304, allocations: 128 kB / 409.9 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002353/0.1327, allocations: 0.7182 MB / 410.6 MB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003198/0.1359, allocations: 1.462 MB / 412.1 MB, free: 8.973 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003992/0.1399, allocations: 3.002 MB / 415.1 MB, free: 5.875 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00298/0.1429, allocations: 267.7 kB / 415.4 MB, free: 5.613 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003917/0.1433, allocations: 316 kB / 415.7 MB, free: 5.305 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.001125/0.1444, allocations: 0.6068 MB / 416.3 MB, free: 4.684 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004202/0.1449, allocations: 199.8 kB / 416.5 MB, free: 4.488 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002758/0.1476, allocations: 1.223 MB / 417.7 MB, free: 3.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.37e-05/0.1476, allocations: 20 kB / 417.7 MB, free: 3.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.1476, allocations: 4 kB / 417.7 MB, free: 3.227 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.1477, allocations: 15.91 kB / 417.7 MB, free: 3.211 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006268/0.1539, allocations: 3.784 MB / 421.5 MB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.1539, allocations: 0 / 421.5 MB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007925/0.1547, allocations: 239.7 kB / 421.7 MB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000458/0.1552, allocations: 277.7 kB / 422 MB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002044/0.1572, allocations: 0.6959 MB / 422.7 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.496e-05/0.1573, allocations: 28 kB / 422.7 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003553/0.1609, allocations: 2.589 MB / 425.3 MB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.1609, allocations: 7.938 kB / 425.3 MB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003081/0.164, allocations: 1.983 MB / 427.3 MB, free: 9.398 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004079/0.1644, allocations: 28 kB / 427.3 MB, free: 9.371 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003852/0.1682, allocations: 39.98 kB / 427.4 MB, free: 9.332 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/0.1684, allocations: 100.7 kB / 427.5 MB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.086e-05/0.1685, allocations: 39.98 kB / 427.5 MB, free: 9.195 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001307/0.1698, allocations: 1.071 MB / 428.6 MB, free: 8.129 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1698, allocations: 4 kB / 428.6 MB, free: 8.125 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006699/0.1765, allocations: 0.9569 MB / 429.6 MB, free: 7.168 MB / 426.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.00338/0.1799, allocations: 168 kB / 429.7 MB, free: 6.996 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003722/0.1836, allocations: 2.561 MB / 432.3 MB, free: 4.434 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002194/0.1839, allocations: 106.8 kB / 432.4 MB, free: 4.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008049/0.1847, allocations: 0.6002 MB / 433 MB, free: 3.707 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002234/0.1869, allocations: 0.7213 MB / 433.7 MB, free: 2.988 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1318/0.3187, allocations: 6.566 MB / 440.3 MB, free: 116.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000929/0.3196, allocations: 1.093 MB / 441.4 MB, free: 116.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001155/0.3208, allocations: 460.3 kB / 441.8 MB, free: 116.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006143/0.3214, allocations: 0.4954 MB / 442.3 MB, free: 116.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.963e-06/0.3214, allocations: 0 / 442.3 MB, free: 116.6 MB / 426.7 MB Notification: Performance of Templates: time 0.03878/0.3602, allocations: 32.04 MB / 474.3 MB, free: 94.24 MB / 426.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 -ignoreHideResult -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.082717780023813]