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.0009897/0.0009897, 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.001085/0.001085, allocations: 163.1 kB / 24.91 MB, free: 8.719 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.9156/0.9156, allocations: 177 MB / 205.2 MB, free: 4.434 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.1413/0.1413, allocations: 34.87 MB / 296.6 MB, free: 13.39 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.403e-06/1.403e-06, allocations: 0 / 325.9 MB, free: 36 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.693e-05, allocations: 2.312 kB / 325.9 MB, free: 32 kB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.005509/0.005526, allocations: 6.504 MB / 332.4 MB, free: 9.492 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003867/0.009393, allocations: 2.453 MB / 334.9 MB, free: 7.031 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005839/0.009977, allocations: 35.88 kB / 334.9 MB, free: 6.996 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.01136, allocations: 1.097 MB / 336 MB, free: 5.895 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.01265, allocations: 0.8901 MB / 336.9 MB, free: 5 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005223/0.01317, allocations: 338.9 kB / 337.3 MB, free: 4.668 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001731/0.0149, allocations: 1.911 MB / 339.2 MB, free: 2.754 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.01599, allocations: 1.178 MB / 340.3 MB, free: 1.543 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.01706, allocations: 1.075 MB / 341.4 MB, free: 476 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1363/0.1533, allocations: 0.9121 MB / 342.3 MB, free: 21.13 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004878/0.1538, allocations: 127.2 kB / 342.5 MB, free: 21.13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.1551, allocations: 0.6951 MB / 343.1 MB, free: 21.13 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007095/0.1558, allocations: 0.9806 MB / 344.1 MB, free: 21.13 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008709/0.1567, allocations: 0.5725 MB / 344.7 MB, free: 21.13 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003061/0.1597, allocations: 2.475 MB / 347.2 MB, free: 20.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.1597, allocations: 2.156 kB / 347.2 MB, free: 20.81 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1598, allocations: 0 / 347.2 MB, free: 20.81 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001093/0.1599, allocations: 0.9062 kB / 347.2 MB, free: 20.81 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.003562/0.1634, allocations: 2.468 MB / 349.6 MB, free: 19.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.1635, allocations: 9.281 kB / 349.7 MB, free: 19.65 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00202/0.1655, allocations: 0.741 MB / 350.4 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.1668, allocations: 0.826 MB / 351.2 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.113e-05/0.1669, allocations: 118.5 kB / 351.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002975/0.1672, allocations: 156.4 kB / 351.5 MB, free: 19.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002958/0.1701, allocations: 3.01 MB / 354.5 MB, free: 17.99 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.125e-05/0.1702, allocations: 28.81 kB / 354.5 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/0.1703, allocations: 89.8 kB / 354.6 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009163/0.1712, allocations: 1.234 MB / 355.9 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002166/0.1734, allocations: 1.552 MB / 357.4 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009311/0.1827, allocations: 20.32 MB / 377.7 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.1842, allocations: 0.7423 MB / 378.5 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.1844, allocations: 209.4 kB / 378.7 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001884/0.1863, allocations: 1.711 MB / 380.4 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.1863, allocations: 42.55 kB / 380.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=77): time 2.505e-06/0.1863, allocations: 3.281 kB / 380.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=84): time 0.004781/0.1911, allocations: 2.397 MB / 382.8 MB, free: 8.844 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.1912, allocations: 140.5 kB / 383 MB, free: 8.676 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.1929, allocations: 1.889 MB / 384.8 MB, free: 7.133 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.1929, allocations: 37.7 kB / 384.9 MB, free: 7.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008641/0.1938, allocations: 2.129 MB / 387 MB, free: 5.062 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/0.194, allocations: 364.7 kB / 387.4 MB, free: 4.723 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005851/0.1945, allocations: 0.8213 MB / 388.2 MB, free: 3.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.496e-05/0.1946, allocations: 348.2 kB / 388.5 MB, free: 3.652 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004596/0.1951, allocations: 441.7 kB / 389 MB, free: 3.215 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001829/0.1969, allocations: 3.239 MB / 392.2 MB, free: 14.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002684/0.1996, allocations: 4.2 MB / 396.4 MB, free: 9.113 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.164e-05/0.1996, allocations: 30.06 kB / 396.4 MB, free: 9.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.003086/0.2027, allocations: 2.919 MB / 399.4 MB, free: 6.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.049e-05/0.2028, allocations: 48 kB / 399.4 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.31e-05/0.2028, allocations: 104 kB / 399.5 MB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002339/0.2031, allocations: 191.6 kB / 399.7 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.2045, allocations: 0.9942 MB / 400.7 MB, free: 4.824 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008196/0.2053, allocations: 1.443 MB / 402.1 MB, free: 3.289 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.2065, allocations: 195.7 kB / 402.3 MB, free: 3.098 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/0.2067, allocations: 240 kB / 402.5 MB, free: 2.863 MB / 346.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.0007283/0.2074, allocations: 488.7 kB / 403 MB, free: 2.371 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.2076, allocations: 119.8 kB / 403.1 MB, free: 2.254 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003761/0.208, allocations: 343.6 kB / 403.5 MB, free: 1.906 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.208, allocations: 12 kB / 403.5 MB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.208, allocations: 7.547 kB / 403.5 MB, free: 1.891 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.208, allocations: 0 / 403.5 MB, free: 1.891 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00246/0.2105, allocations: 2.014 MB / 405.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.2105, allocations: 8 kB / 405.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.2107, allocations: 111.8 kB / 405.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002399/0.211, allocations: 170.6 kB / 405.8 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/0.211, allocations: 16 kB / 405.8 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005899/0.2116, allocations: 1.235 MB / 407 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.2116, allocations: 4 kB / 407.1 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007436/0.2123, allocations: 1.117 MB / 408.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.2125, allocations: 170.5 kB / 408.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.679e-05/0.2126, allocations: 23.94 kB / 408.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.2128, allocations: 19.98 kB / 408.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.177e-05/0.2129, allocations: 59.78 kB / 408.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.2129, allocations: 24 kB / 408.5 MB, free: 12.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005691/0.2135, allocations: 0.7116 MB / 409.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2135, allocations: 0 / 409.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001701/0.2152, allocations: 0.5351 MB / 409.7 MB, free: 11.38 MB / 362.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.0002134/0.2154, allocations: 128.2 kB / 409.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001767/0.2172, allocations: 1.711 MB / 411.5 MB, free: 9.527 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001017/0.2173, allocations: 59.94 kB / 411.6 MB, free: 9.465 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.2175, allocations: 305.1 kB / 411.9 MB, free: 9.156 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008857/0.2184, allocations: 195.6 kB / 412.1 MB, free: 8.969 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004551/0.223, allocations: 4.291 MB / 416.4 MB, free: 4.551 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005727/0.2235, allocations: 0.7109 MB / 417.1 MB, free: 3.812 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000629/0.2242, allocations: 317.3 kB / 417.4 MB, free: 3.504 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/0.2245, allocations: 331.3 kB / 417.7 MB, free: 3.18 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/0.2245, allocations: 0 / 417.7 MB, free: 3.18 MB / 362.7 MB Notification: Performance of Templates: time 0.02318/0.2477, allocations: 13.09 MB / 430.8 MB, free: 6.25 MB / 378.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 -s gbode -gbm=radauIIA3 -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.4678610139526427]