Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001048/0.001048, allocations: 75.75 kB / 21.69 MB, free: 2.859 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.001118/0.001118, allocations: 162.1 kB / 24.99 MB, free: 9.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.047/1.047, allocations: 177.1 MB / 205.3 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2818/0.2818, allocations: 34.25 MB / 296 MB, free: 0.7656 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 378 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.415e-05/3.637e-05, allocations: 9.766 kB / 378 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.009661/0.009698, allocations: 6.579 MB / 384.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00544/0.01514, allocations: 2.38 MB / 387 MB, free: 9.969 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.01631, allocations: 35.88 kB / 387 MB, free: 9.934 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002413/0.01872, allocations: 1.121 MB / 388.1 MB, free: 8.809 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002269/0.02099, allocations: 0.894 MB / 389 MB, free: 7.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006266/0.02162, allocations: 331 kB / 389.3 MB, free: 7.586 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002064/0.02368, allocations: 1.899 MB / 391.2 MB, free: 5.684 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.02481, allocations: 1.135 MB / 392.4 MB, free: 4.527 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009749/0.02578, allocations: 1.044 MB / 393.4 MB, free: 3.48 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009788/0.02676, allocations: 0.9934 MB / 394.4 MB, free: 2.484 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001812/0.02694, allocations: 128 kB / 394.5 MB, free: 2.359 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009105/0.02785, allocations: 0.6823 MB / 395.2 MB, free: 1.676 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009704/0.02882, allocations: 0.9892 MB / 396.2 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004717/0.0293, allocations: 0.5759 MB / 396.8 MB, free: 108 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002288/0.03158, allocations: 2.482 MB / 399.3 MB, free: 13.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.03159, allocations: 0 / 399.3 MB, free: 13.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.03159, allocations: 0 / 399.3 MB, free: 13.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.902e-05/0.03165, allocations: 4 kB / 399.3 MB, free: 13.61 MB / 378.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.003486/0.03514, allocations: 2.903 MB / 402.2 MB, free: 10.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.03518, allocations: 8.031 kB / 402.2 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003559/0.03874, allocations: 1.879 MB / 404.1 MB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.03986, allocations: 0.9743 MB / 405 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.22e-05/0.03992, allocations: 119.3 kB / 405.2 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/0.04011, allocations: 160.2 kB / 405.3 MB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00414/0.04425, allocations: 3.717 MB / 409 MB, free: 3.109 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.869e-05/0.04429, allocations: 23.81 kB / 409.1 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001637/0.04446, allocations: 79.83 kB / 409.1 MB, free: 3.008 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001448/0.04591, allocations: 1.445 MB / 410.6 MB, free: 1.566 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004171/0.05008, allocations: 1.985 MB / 412.6 MB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01887/0.06895, allocations: 28.49 MB / 441 MB, free: 2.102 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002159/0.07111, allocations: 0.9628 MB / 442 MB, free: 1.086 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004069/0.07152, allocations: 314.6 kB / 442.3 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/0.07169, allocations: 96.27 kB / 442.4 MB, free: 0.668 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.07172, allocations: 45.39 kB / 442.5 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 3.396e-06/0.07172, allocations: 0 / 442.5 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.1511/0.2228, allocations: 6.269 MB / 448.7 MB, free: 98.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.2229, allocations: 137.2 kB / 448.9 MB, free: 98.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/0.2246, allocations: 2.319 MB / 451.2 MB, free: 98.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.827e-05/0.2247, allocations: 39.86 kB / 451.2 MB, free: 98.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000823/0.2255, allocations: 2.242 MB / 453.5 MB, free: 96.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/0.2258, allocations: 473.9 kB / 453.9 MB, free: 96.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000652/0.2264, allocations: 0.9358 MB / 454.9 MB, free: 96.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.077e-05/0.2265, allocations: 0.5095 MB / 455.4 MB, free: 95.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006874/0.2272, allocations: 443.9 kB / 455.8 MB, free: 95.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.2288, allocations: 4.557 MB / 460.4 MB, free: 89.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002986/0.2318, allocations: 5.513 MB / 465.9 MB, free: 83.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-05/0.2319, allocations: 28.5 kB / 465.9 MB, free: 83.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.004401/0.2363, allocations: 3.81 MB / 469.7 MB, free: 82.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.348e-05/0.2363, allocations: 45.47 kB / 469.8 MB, free: 82.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-05/0.2364, allocations: 99.19 kB / 469.8 MB, free: 82.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006339/0.237, allocations: 327.3 kB / 470.2 MB, free: 82.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.2385, allocations: 0.9783 MB / 471.1 MB, free: 82.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/0.2402, allocations: 2.719 MB / 473.9 MB, free: 79.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.2417, allocations: 230.5 kB / 474.1 MB, free: 79.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000198/0.2419, allocations: 270 kB / 474.4 MB, free: 79.76 MB / 410.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.0006232/0.2425, allocations: 0.5042 MB / 474.9 MB, free: 79.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/0.2427, allocations: 231.1 kB / 475.1 MB, free: 79.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009162/0.2436, allocations: 0.7139 MB / 475.8 MB, free: 78.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.2437, allocations: 12.66 kB / 475.8 MB, free: 78.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.2437, allocations: 0 / 475.8 MB, free: 78.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.2437, allocations: 9.453 kB / 475.8 MB, free: 78.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003375/0.247, allocations: 3.05 MB / 478.9 MB, free: 77.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.247, allocations: 3.125 kB / 478.9 MB, free: 77.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.2474, allocations: 135.7 kB / 479 MB, free: 77.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004374/0.2478, allocations: 187.3 kB / 479.2 MB, free: 77.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.055e-05/0.2478, allocations: 21.38 kB / 479.2 MB, free: 77.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.249, allocations: 2.161 MB / 481.4 MB, free: 75.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.249, allocations: 2.266 kB / 481.4 MB, free: 75.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.2507, allocations: 1.626 MB / 483 MB, free: 74.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002138/0.2509, allocations: 177.5 kB / 483.2 MB, free: 74.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.251, allocations: 17.2 kB / 483.2 MB, free: 74.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.2514, allocations: 56.05 kB / 483.2 MB, free: 74.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.2515, allocations: 56.42 kB / 483.3 MB, free: 74.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-05/0.2515, allocations: 25.44 kB / 483.3 MB, free: 74.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009906/0.2525, allocations: 0.9501 MB / 484.3 MB, free: 74.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2525, allocations: 0 / 484.3 MB, free: 74.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002252/0.2548, allocations: 0.58 MB / 484.9 MB, free: 74.07 MB / 410.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.0002645/0.255, allocations: 137.6 kB / 485 MB, free: 73.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00276/0.2578, allocations: 2.1 MB / 487.1 MB, free: 73.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2578, allocations: 5.062 kB / 487.1 MB, free: 73.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004976/0.2583, allocations: 0.5194 MB / 487.6 MB, free: 72.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007863/0.2591, allocations: 174.3 kB / 487.8 MB, free: 72.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00576/0.2648, allocations: 4.416 MB / 492.2 MB, free: 70.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005808/0.2654, allocations: 0.7292 MB / 492.9 MB, free: 70.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001627/0.267, allocations: 1.18 MB / 494.1 MB, free: 70.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.2673, allocations: 147.9 kB / 494.3 MB, free: 70.23 MB / 410.7 MB Notification: Performance of SimCode: time 1.824e-06/0.2673, allocations: 0 / 494.3 MB, free: 70.23 MB / 410.7 MB Notification: Performance of Templates: time 0.02422/0.2915, allocations: 16.42 MB / 0.4987 GB, free: 61.75 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.8752382239326835]