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.001014/0.001014, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001108/0.002122, allocations: 457.8 kB / 10.45 MB, free: 244 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.0006926/0.0006926, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009442/0.001637, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9748/0.9748, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09364/1.068, allocations: 53.88 MB / 243.9 MB, free: 14.85 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.2762/0.2762, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02815/0.3044, allocations: 13.23 MB / 292.8 MB, free: 6.41 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.913e-06/1.913e-06, allocations: 0 / 294.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118e-05/1.309e-05, allocations: 7.078 kB / 294.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01237/0.01239, allocations: 6.553 MB / 300.6 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006299/0.01869, allocations: 2.466 MB / 303.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003207/0.01901, allocations: 35.81 kB / 303.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.02042, allocations: 1.086 MB / 304.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004289/0.02471, allocations: 0.8861 MB / 305.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004724/0.02518, allocations: 328.8 kB / 305.4 MB, free: 9.727 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004567/0.02975, allocations: 1.879 MB / 307.3 MB, free: 7.844 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009931/0.03074, allocations: 1.104 MB / 308.4 MB, free: 6.703 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009035/0.03165, allocations: 1.124 MB / 309.5 MB, free: 5.574 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008366/0.03248, allocations: 0.9115 MB / 310.5 MB, free: 4.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.03261, allocations: 124 kB / 310.6 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006949/0.03331, allocations: 0.694 MB / 311.3 MB, free: 3.844 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005467/0.03385, allocations: 0.892 MB / 312.2 MB, free: 2.949 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003728/0.03423, allocations: 494.1 kB / 312.6 MB, free: 2.465 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001718/0.03595, allocations: 2.311 MB / 315 MB, free: 144 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.03596, allocations: 4 kB / 315 MB, free: 140 kB / 298.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.03596, allocations: 0 / 315 MB, free: 140 kB / 298.7 MB Notification: Performance of Transformations before backend: time 6.265e-05/0.03602, allocations: 0 / 315 MB, free: 140 kB / 298.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.002992/0.03901, allocations: 3.003 MB / 318 MB, free: 13.08 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.03904, allocations: 12.92 kB / 318 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/0.04078, allocations: 0.742 MB / 318.7 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008678/0.04165, allocations: 0.8244 MB / 319.5 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.333e-05/0.0417, allocations: 115.3 kB / 319.6 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.04188, allocations: 164.2 kB / 319.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002599/0.04448, allocations: 3.014 MB / 322.8 MB, free: 7.699 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.442e-05/0.04452, allocations: 27.73 kB / 322.9 MB, free: 7.672 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/0.04466, allocations: 79.89 kB / 322.9 MB, free: 7.594 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009518/0.04561, allocations: 1.16 MB / 324.1 MB, free: 6.438 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002268/0.04788, allocations: 1.553 MB / 325.6 MB, free: 4.879 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01284/0.06073, allocations: 20.31 MB / 346 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.06225, allocations: 0.7452 MB / 346.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.06245, allocations: 200 kB / 346.9 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001969/0.06442, allocations: 1.685 MB / 348.6 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.06445, allocations: 46.5 kB / 348.6 MB, free: 12.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=77): time 4.348e-06/0.06445, allocations: 0 / 348.6 MB, free: 12.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=84): time 0.005108/0.06956, allocations: 2.396 MB / 351 MB, free: 10.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.06961, allocations: 148.4 kB / 351.2 MB, free: 10.33 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.07081, allocations: 1.882 MB / 353 MB, free: 8.406 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.07085, allocations: 37.7 kB / 353.1 MB, free: 8.363 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007474/0.07159, allocations: 2.119 MB / 355.2 MB, free: 6.219 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.07178, allocations: 389.1 kB / 355.6 MB, free: 5.836 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005536/0.07233, allocations: 0.8067 MB / 356.4 MB, free: 5.016 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.286e-05/0.07242, allocations: 341.9 kB / 356.7 MB, free: 4.676 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004047/0.07282, allocations: 446.6 kB / 357.2 MB, free: 4.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/0.07432, allocations: 3.245 MB / 360.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002944/0.07727, allocations: 4.529 MB / 364.9 MB, free: 9.504 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.301e-05/0.0773, allocations: 28 kB / 365 MB, free: 9.477 MB / 362.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.002993/0.08029, allocations: 2.927 MB / 367.9 MB, free: 6.543 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.514e-05/0.08034, allocations: 51.94 kB / 367.9 MB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.861e-05/0.08043, allocations: 116 kB / 368.1 MB, free: 6.379 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000267/0.08069, allocations: 188.5 kB / 368.2 MB, free: 6.191 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.08217, allocations: 1.068 MB / 369.3 MB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008622/0.08304, allocations: 1.42 MB / 370.7 MB, free: 3.598 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.08434, allocations: 203.7 kB / 370.9 MB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/0.08454, allocations: 236 kB / 371.2 MB, free: 3.168 MB / 362.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.0007013/0.08524, allocations: 496.7 kB / 371.6 MB, free: 2.668 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/0.08543, allocations: 115.8 kB / 371.8 MB, free: 2.555 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004453/0.08588, allocations: 339.8 kB / 372.1 MB, free: 2.215 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.08589, allocations: 11.98 kB / 372.1 MB, free: 2.203 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.0859, allocations: 0 / 372.1 MB, free: 2.203 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.0859, allocations: 4 kB / 372.1 MB, free: 2.199 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002385/0.08829, allocations: 2.016 MB / 374.1 MB, free: 80 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/0.0883, allocations: 12 kB / 374.1 MB, free: 68 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.08857, allocations: 115.8 kB / 374.2 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.08872, allocations: 178.5 kB / 374.4 MB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002337/0.08895, allocations: 178 kB / 374.6 MB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.08898, allocations: 19.98 kB / 374.6 MB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006069/0.08959, allocations: 1.228 MB / 375.8 MB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.08959, allocations: 7.938 kB / 375.8 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007612/0.09035, allocations: 1.115 MB / 377 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-05/0.09045, allocations: 19.98 kB / 377 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/0.09072, allocations: 24 kB / 377 MB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.167e-05/0.09078, allocations: 55.8 kB / 377.1 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.49e-05/0.09082, allocations: 27.98 kB / 377.1 MB, free: 12.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005373/0.09135, allocations: 0.7039 MB / 377.8 MB, free: 12.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09135, allocations: 0 / 377.8 MB, free: 12.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001897/0.09325, allocations: 0.5351 MB / 378.3 MB, free: 11.67 MB / 378.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.0002378/0.09349, allocations: 140.1 kB / 378.5 MB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001595/0.09508, allocations: 1.787 MB / 380.2 MB, free: 9.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.905e-05/0.09518, allocations: 63.94 kB / 380.3 MB, free: 9.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003036/0.09549, allocations: 348.3 kB / 380.7 MB, free: 9.328 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.09652, allocations: 1.092 MB / 381.7 MB, free: 8.125 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005211/0.1017, allocations: 4.396 MB / 386.1 MB, free: 3.602 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/0.1023, allocations: 0.7038 MB / 386.8 MB, free: 2.871 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006313/0.1029, allocations: 318.4 kB / 387.2 MB, free: 2.559 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002673/0.1032, allocations: 315.3 kB / 387.5 MB, free: 2.25 MB / 378.7 MB Notification: Performance of SimCode: time 1.313e-06/0.1032, allocations: 0 / 387.5 MB, free: 2.25 MB / 378.7 MB Notification: Performance of Templates: time 0.02082/0.124, allocations: 11.31 MB / 398.8 MB, free: 6.957 MB / 394.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.043626584112644]