Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 91.22 kB / 20.43 MB, free: 4.145 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9231/0.9231, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1621/0.1621, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 347.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.203e-05/1.346e-05, allocations: 6.25 kB / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01125/0.01126, allocations: 6.646 MB / 354.3 MB, free: 2.781 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005697/0.01696, allocations: 2.345 MB / 356.6 MB, free: 440 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003183/0.01728, allocations: 31.88 kB / 356.7 MB, free: 408 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.01874, allocations: 1.109 MB / 357.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00428/0.02302, allocations: 0.8978 MB / 358.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.0235, allocations: 327 kB / 359 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001582/0.02509, allocations: 1.949 MB / 361 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003983/0.02907, allocations: 1.143 MB / 362.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.0301, allocations: 1.091 MB / 363.2 MB, free: 9.852 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009516/0.03105, allocations: 0.9739 MB / 364.2 MB, free: 8.871 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001715/0.03122, allocations: 132 kB / 364.3 MB, free: 8.742 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008021/0.03202, allocations: 0.6628 MB / 365 MB, free: 8.078 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006773/0.0327, allocations: 1.001 MB / 366 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005174/0.03322, allocations: 0.5915 MB / 366.5 MB, free: 6.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002208/0.03543, allocations: 2.498 MB / 369 MB, free: 3.973 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.03543, allocations: 0 / 369 MB, free: 3.973 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.03543, allocations: 0 / 369 MB, free: 3.973 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.24e-05/0.03545, allocations: 4 kB / 369 MB, free: 3.969 MB / 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.003439/0.03889, allocations: 2.915 MB / 372 MB, free: 1.004 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.03894, allocations: 12.03 kB / 372 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003831/0.04277, allocations: 1.879 MB / 373.9 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.04382, allocations: 1.013 MB / 374.9 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.722e-05/0.04392, allocations: 119.3 kB / 375 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002294/0.04414, allocations: 156.3 kB / 375.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003357/0.0475, allocations: 3.701 MB / 378.8 MB, free: 9.438 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.163e-05/0.04754, allocations: 27.77 kB / 378.9 MB, free: 9.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/0.04768, allocations: 79.89 kB / 378.9 MB, free: 9.332 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001203/0.04888, allocations: 1.394 MB / 380.3 MB, free: 7.934 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002812/0.05169, allocations: 1.876 MB / 382.2 MB, free: 6.062 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0142/0.06589, allocations: 28.6 MB / 410.8 MB, free: 8.426 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.06751, allocations: 0.8477 MB / 411.7 MB, free: 7.527 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002591/0.06777, allocations: 226.6 kB / 411.9 MB, free: 7.289 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001674/0.06944, allocations: 1.907 MB / 413.8 MB, free: 5.352 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.06947, allocations: 53.31 kB / 413.8 MB, free: 5.289 MB / 346.7 MB Notification: Performance of pre-optimization done (n=77): time 2.175e-06/0.06947, allocations: 0 / 413.8 MB, free: 5.289 MB / 346.7 MB Notification: Performance of matching and sorting (n=84): time 0.005884/0.07536, allocations: 4.284 MB / 418.1 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.0754, allocations: 144.4 kB / 418.3 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/0.07722, allocations: 2.406 MB / 420.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.07725, allocations: 37.7 kB / 420.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001007/0.07826, allocations: 2.321 MB / 423 MB, free: 11.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/0.07846, allocations: 401.2 kB / 423.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006793/0.07914, allocations: 0.9447 MB / 424.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.07927, allocations: 0.5121 MB / 424.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005405/0.07981, allocations: 396.3 kB / 425.3 MB, free: 9.645 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002459/0.08227, allocations: 4.727 MB / 430 MB, free: 2.887 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003564/0.08583, allocations: 5.66 MB / 435.6 MB, free: 11.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-05/0.08586, allocations: 32 kB / 435.7 MB, free: 11.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.003899/0.08976, allocations: 3.67 MB / 439.4 MB, free: 7.508 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/0.0898, allocations: 51.98 kB / 439.4 MB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.889e-05/0.08987, allocations: 108.2 kB / 439.5 MB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002351/0.0901, allocations: 187.6 kB / 439.7 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/0.09156, allocations: 0.9825 MB / 440.7 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.09265, allocations: 1.99 MB / 442.7 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.09379, allocations: 219.7 kB / 442.9 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002177/0.09401, allocations: 288 kB / 443.2 MB, free: 3.562 MB / 378.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.0005307/0.09454, allocations: 0.5162 MB / 443.7 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/0.09475, allocations: 222.6 kB / 443.9 MB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004323/0.09518, allocations: 396.7 kB / 444.3 MB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.09519, allocations: 8 kB / 444.3 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.0952, allocations: 11.94 kB / 444.3 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.09521, allocations: 7.984 kB / 444.3 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.143/0.2382, allocations: 2.49 MB / 446.8 MB, free: 95.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/0.2382, allocations: 5.844 kB / 446.8 MB, free: 95.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004534/0.2387, allocations: 116.6 kB / 446.9 MB, free: 95.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002138/0.2389, allocations: 56.72 kB / 447 MB, free: 95.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.463e-05/0.2389, allocations: 18.66 kB / 447 MB, free: 95.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007814/0.2397, allocations: 1.791 MB / 448.8 MB, free: 93.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2397, allocations: 8.781 kB / 448.8 MB, free: 93.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.241, allocations: 1.433 MB / 450.2 MB, free: 93.13 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004437/0.2415, allocations: 255.9 kB / 450.5 MB, free: 93.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.2416, allocations: 21.42 kB / 450.5 MB, free: 93.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/0.242, allocations: 29.67 kB / 450.5 MB, free: 93.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-05/0.242, allocations: 63.89 kB / 450.6 MB, free: 93.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.307e-05/0.2421, allocations: 32.16 kB / 450.6 MB, free: 93.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001199/0.2433, allocations: 0.9847 MB / 451.6 MB, free: 92.94 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2433, allocations: 0 / 451.6 MB, free: 92.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002388/0.2457, allocations: 0.5522 MB / 452.2 MB, free: 92.94 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.0002985/0.246, allocations: 149.6 kB / 452.3 MB, free: 92.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003039/0.249, allocations: 1.975 MB / 454.3 MB, free: 92.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/0.249, allocations: 1.188 kB / 454.3 MB, free: 92.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004078/0.2494, allocations: 417.6 kB / 454.7 MB, free: 92.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.2505, allocations: 187.4 kB / 454.9 MB, free: 92.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008387/0.2589, allocations: 4.268 MB / 459.1 MB, free: 90.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/0.26, allocations: 0.7158 MB / 459.8 MB, free: 90.28 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00259/0.2626, allocations: 1.17 MB / 461 MB, free: 90.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003634/0.2629, allocations: 143.4 kB / 461.2 MB, free: 90.16 MB / 378.7 MB Notification: Performance of SimCode: time 2.214e-06/0.2629, allocations: 0 / 461.2 MB, free: 90.16 MB / 378.7 MB Notification: Performance of Templates: time 0.02481/0.2878, allocations: 11.88 MB / 473 MB, free: 81.27 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.8372912649065256]