Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009381/0.0009381, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.000966/0.000966, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 0.925/0.925, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2632/0.2632, allocations: 32.8 MB / 294.3 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 3.938 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.974e-05/3.163e-05, allocations: 2.312 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.009836/0.009868, allocations: 6.617 MB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00409/0.01396, allocations: 2.383 MB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005511/0.01451, allocations: 35.88 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.01599, allocations: 1.121 MB / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00174/0.01773, allocations: 0.894 MB / 387 MB, free: 9.555 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007133/0.01845, allocations: 331 kB / 387.4 MB, free: 9.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00236/0.02081, allocations: 1.903 MB / 389.3 MB, free: 7.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.02209, allocations: 1.131 MB / 390.4 MB, free: 6.168 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001208/0.0233, allocations: 1.052 MB / 391.5 MB, free: 5.113 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.02455, allocations: 0.9895 MB / 392.4 MB, free: 4.121 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002431/0.02479, allocations: 132 kB / 392.6 MB, free: 3.992 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009876/0.02578, allocations: 0.6785 MB / 393.3 MB, free: 3.312 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007329/0.02652, allocations: 0.9814 MB / 394.2 MB, free: 2.328 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000582/0.0271, allocations: 0.5798 MB / 394.8 MB, free: 1.746 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002804/0.0299, allocations: 2.486 MB / 397.3 MB, free: 15.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.0299, allocations: 0 / 397.3 MB, free: 15.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.02991, allocations: 0 / 397.3 MB, free: 15.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.016e-05/0.02997, allocations: 4 kB / 397.3 MB, free: 15.24 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.003707/0.03367, allocations: 2.903 MB / 400.2 MB, free: 12.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.03371, allocations: 8.031 kB / 400.2 MB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004174/0.03789, allocations: 1.871 MB / 402.1 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.03932, allocations: 0.9782 MB / 403.1 MB, free: 9.398 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.974e-05/0.0394, allocations: 115.3 kB / 403.2 MB, free: 9.285 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002527/0.03965, allocations: 164.2 kB / 403.3 MB, free: 9.125 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004913/0.04456, allocations: 3.721 MB / 407.1 MB, free: 4.746 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.973e-05/0.04461, allocations: 19.81 kB / 407.1 MB, free: 4.727 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001923/0.0448, allocations: 79.89 kB / 407.2 MB, free: 4.648 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001864/0.04667, allocations: 1.445 MB / 408.6 MB, free: 3.207 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004571/0.05124, allocations: 1.985 MB / 410.6 MB, free: 1.207 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01832/0.06956, allocations: 28.48 MB / 439.1 MB, free: 3.754 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/0.07149, allocations: 0.9706 MB / 440 MB, free: 2.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004023/0.07189, allocations: 318.6 kB / 440.3 MB, free: 2.402 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001638/0.07206, allocations: 96.33 kB / 440.4 MB, free: 2.309 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.07208, allocations: 41.39 kB / 440.5 MB, free: 2.258 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 2.886e-06/0.07209, allocations: 4 kB / 440.5 MB, free: 2.254 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.1512/0.2233, allocations: 6.275 MB / 446.8 MB, free: 95.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.2233, allocations: 137.1 kB / 446.9 MB, free: 95.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.225, allocations: 2.32 MB / 449.2 MB, free: 95.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.225, allocations: 38.58 kB / 449.2 MB, free: 95.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006521/0.2256, allocations: 2.24 MB / 451.5 MB, free: 93.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.2258, allocations: 474.3 kB / 452 MB, free: 93.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000612/0.2265, allocations: 0.9441 MB / 452.9 MB, free: 93.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.189e-05/0.2265, allocations: 0.5137 MB / 453.4 MB, free: 93.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005774/0.2271, allocations: 438.6 kB / 453.8 MB, free: 93.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.2286, allocations: 4.554 MB / 458.4 MB, free: 87.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00271/0.2313, allocations: 5.512 MB / 463.9 MB, free: 82.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-05/0.2313, allocations: 34 kB / 463.9 MB, free: 82.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.003721/0.235, allocations: 3.798 MB / 467.7 MB, free: 80.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.266e-05/0.2351, allocations: 45.5 kB / 467.8 MB, free: 80.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.676e-05/0.2351, allocations: 102.2 kB / 467.9 MB, free: 80.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005494/0.2357, allocations: 331.7 kB / 468.2 MB, free: 80.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.237, allocations: 0.9689 MB / 469.2 MB, free: 80.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.2385, allocations: 2.717 MB / 471.9 MB, free: 78.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.2397, allocations: 228.4 kB / 472.1 MB, free: 78.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001975/0.2399, allocations: 272.2 kB / 472.4 MB, free: 78.12 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.00063/0.2405, allocations: 0.5155 MB / 472.9 MB, free: 77.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.2407, allocations: 229.9 kB / 473.1 MB, free: 77.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008372/0.2415, allocations: 0.7072 MB / 473.8 MB, free: 77.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.2415, allocations: 11.84 kB / 473.8 MB, free: 77.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.2415, allocations: 3.031 kB / 473.8 MB, free: 77.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.2416, allocations: 10.28 kB / 473.8 MB, free: 77.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003456/0.245, allocations: 3.043 MB / 476.9 MB, free: 75.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.245, allocations: 6.906 kB / 476.9 MB, free: 75.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003215/0.2453, allocations: 136.5 kB / 477 MB, free: 75.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004375/0.2458, allocations: 195.9 kB / 477.2 MB, free: 75.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.768e-05/0.2458, allocations: 14.06 kB / 477.2 MB, free: 75.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.247, allocations: 2.158 MB / 479.4 MB, free: 73.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.247, allocations: 0 / 479.4 MB, free: 73.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.2484, allocations: 1.626 MB / 481 MB, free: 73.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.2486, allocations: 180.9 kB / 481.2 MB, free: 72.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.769e-05/0.2487, allocations: 18.59 kB / 481.2 MB, free: 72.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/0.249, allocations: 43.83 kB / 481.3 MB, free: 72.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.564e-05/0.2491, allocations: 60.86 kB / 481.3 MB, free: 72.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.024e-05/0.2491, allocations: 27.19 kB / 481.3 MB, free: 72.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008662/0.25, allocations: 0.9523 MB / 482.3 MB, free: 72.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.25, allocations: 0 / 482.3 MB, free: 72.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001814/0.2518, allocations: 0.578 MB / 482.9 MB, free: 72.44 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.0002538/0.2521, allocations: 142.3 kB / 483 MB, free: 72.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002471/0.2545, allocations: 2.098 MB / 485.1 MB, free: 71.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2545, allocations: 0 / 485.1 MB, free: 71.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004793/0.255, allocations: 0.527 MB / 485.6 MB, free: 71.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000686/0.2557, allocations: 176.8 kB / 485.8 MB, free: 71.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005358/0.2611, allocations: 4.413 MB / 490.2 MB, free: 68.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006082/0.2617, allocations: 0.7248 MB / 490.9 MB, free: 68.72 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00153/0.2632, allocations: 1.184 MB / 492.1 MB, free: 68.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.2635, allocations: 146.3 kB / 492.3 MB, free: 68.61 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.2635, allocations: 1.344 kB / 492.3 MB, free: 68.61 MB / 410.7 MB Notification: Performance of Templates: time 0.02337/0.2868, allocations: 16.41 MB / 0.4968 GB, free: 63.23 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.777258441783488]