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.001097/0.001097, allocations: 95.31 kB / 20.43 MB, free: 4.137 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.001268/0.001268, allocations: 169 kB / 23.8 MB, free: 0.7695 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.9138/0.9138, allocations: 158.6 MB / 185.6 MB, free: 2.898 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.1413/0.1413, 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.383e-06/1.383e-06, allocations: 0 / 347.6 MB, free: 9.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.278e-05, allocations: 8.219 kB / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.004841/0.004863, allocations: 6.636 MB / 354.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002784/0.007648, allocations: 2.345 MB / 356.6 MB, free: 444 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002993/0.007947, allocations: 35.88 kB / 356.7 MB, free: 408 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.009264, allocations: 1.105 MB / 357.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.01034, allocations: 0.8978 MB / 358.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.01076, allocations: 323 kB / 359 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001303/0.01207, allocations: 1.946 MB / 360.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008381/0.0129, allocations: 1.135 MB / 362.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007936/0.0137, allocations: 1.064 MB / 363.1 MB, free: 9.895 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008086/0.01451, allocations: 1.001 MB / 364.1 MB, free: 8.891 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.01468, allocations: 128 kB / 364.3 MB, free: 8.766 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.01568, allocations: 0.6629 MB / 364.9 MB, free: 8.102 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007924/0.01647, allocations: 1.005 MB / 365.9 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005998/0.01707, allocations: 0.5915 MB / 366.5 MB, free: 6.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002643/0.01972, allocations: 2.513 MB / 369 MB, free: 3.977 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.01972, allocations: 0 / 369 MB, free: 3.977 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.01972, allocations: 0 / 369 MB, free: 3.977 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.01974, allocations: 0 / 369 MB, free: 3.977 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.003721/0.02346, allocations: 2.915 MB / 372 MB, free: 1.008 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.0235, allocations: 8.031 kB / 372 MB, free: 1 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004525/0.02803, allocations: 1.875 MB / 373.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.0295, allocations: 0.9937 MB / 374.8 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.275e-05/0.02959, allocations: 115.3 kB / 374.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002723/0.02986, allocations: 156.2 kB / 375.1 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005275/0.03514, allocations: 3.717 MB / 378.8 MB, free: 9.457 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-05/0.03519, allocations: 23.77 kB / 378.8 MB, free: 9.434 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002046/0.0354, allocations: 79.89 kB / 378.9 MB, free: 9.355 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002201/0.0376, allocations: 1.448 MB / 380.4 MB, free: 7.902 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005056/0.04266, allocations: 1.997 MB / 382.4 MB, free: 5.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02236/0.06502, allocations: 28.48 MB / 410.8 MB, free: 8.445 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003184/0.0682, allocations: 0.9561 MB / 411.8 MB, free: 7.441 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000592/0.06879, allocations: 318.5 kB / 412.1 MB, free: 7.113 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002355/0.06903, allocations: 87.94 kB / 412.2 MB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.06907, allocations: 49.33 kB / 412.2 MB, free: 6.969 MB / 346.7 MB Notification: Performance of pre-optimization done (n=96): time 3.577e-06/0.06907, allocations: 4 kB / 412.2 MB, free: 6.965 MB / 346.7 MB Notification: Performance of matching and sorting (n=106): time 0.0178/0.08687, allocations: 6.282 MB / 418.5 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.65e-05/0.08695, allocations: 136.5 kB / 418.7 MB, free: 448 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003075/0.09002, allocations: 2.311 MB / 421 MB, free: 14.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.554e-05/0.09009, allocations: 41.7 kB / 421 MB, free: 14.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001691/0.09178, allocations: 2.247 MB / 423.3 MB, free: 11.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003887/0.09216, allocations: 472.6 kB / 423.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001232/0.0934, allocations: 0.9369 MB / 424.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.09358, allocations: 0.516 MB / 425.2 MB, free: 9.816 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.09463, allocations: 440.2 kB / 425.6 MB, free: 9.379 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003564/0.09819, allocations: 4.558 MB / 430.2 MB, free: 2.898 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003748/0.1019, allocations: 5.511 MB / 435.7 MB, free: 11.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.648e-05/0.102, allocations: 28 kB / 435.7 MB, free: 11.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.004068/0.106, allocations: 3.808 MB / 439.5 MB, free: 7.645 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/0.1061, allocations: 51.94 kB / 439.6 MB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.538e-05/0.1062, allocations: 100 kB / 439.6 MB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006148/0.1068, allocations: 319.8 kB / 440 MB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.1082, allocations: 0.9747 MB / 440.9 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.1102, allocations: 2.715 MB / 443.7 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.1114, allocations: 231.6 kB / 443.9 MB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002301/0.1116, allocations: 276 kB / 444.1 MB, free: 2.875 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * 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 (527): * Single equations (assignments): 523 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006557/0.1122, allocations: 0.5086 MB / 444.7 MB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002358/0.1125, allocations: 234.6 kB / 444.9 MB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.1135, allocations: 0.7101 MB / 445.6 MB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.1135, allocations: 12 kB / 445.6 MB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.1135, allocations: 4 kB / 445.6 MB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/0.1135, allocations: 7.984 kB / 445.6 MB, free: 1.379 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1609/0.2744, allocations: 3.031 MB / 448.6 MB, free: 95.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.2744, allocations: 0 / 448.6 MB, free: 95.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/0.2748, allocations: 143.7 kB / 448.8 MB, free: 95.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004735/0.2753, allocations: 187.1 kB / 449 MB, free: 95.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.351e-05/0.2754, allocations: 20.56 kB / 449 MB, free: 95.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.2767, allocations: 2.163 MB / 451.2 MB, free: 94.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2767, allocations: 0 / 451.2 MB, free: 94.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/0.2786, allocations: 1.63 MB / 452.8 MB, free: 93.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005297/0.2791, allocations: 295.9 kB / 453.1 MB, free: 93.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.2793, allocations: 15.77 kB / 453.1 MB, free: 93.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/0.2797, allocations: 48.34 kB / 453.1 MB, free: 93.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.2798, allocations: 54.83 kB / 453.2 MB, free: 93.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.255e-05/0.2798, allocations: 34.41 kB / 453.2 MB, free: 93.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001217/0.281, allocations: 0.9528 MB / 454.2 MB, free: 93.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.281, allocations: 0 / 454.2 MB, free: 93.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002303/0.2833, allocations: 0.5975 MB / 454.8 MB, free: 93.23 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (77): * Single equations (assignments): 73 * 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,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002692/0.2836, allocations: 139.4 kB / 454.9 MB, free: 93.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002821/0.2864, allocations: 2.104 MB / 457 MB, free: 92.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.2864, allocations: 2.844 kB / 457 MB, free: 92.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004661/0.2869, allocations: 0.5148 MB / 457.5 MB, free: 92.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006983/0.2876, allocations: 177.6 kB / 457.7 MB, free: 92.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005133/0.2927, allocations: 4.406 MB / 462.1 MB, free: 90.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/0.2932, allocations: 0.7227 MB / 462.8 MB, free: 90.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001311/0.2945, allocations: 1.189 MB / 464 MB, free: 90.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.2947, allocations: 153.8 kB / 464.2 MB, free: 90.71 MB / 378.7 MB Notification: Performance of SimCode: time 1.643e-06/0.2947, allocations: 0 / 464.2 MB, free: 90.71 MB / 378.7 MB Notification: Performance of Templates: time 0.02275/0.3175, allocations: 16.4 MB / 480.6 MB, free: 75.66 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.834437295794487]