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.0008829/0.0008829, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003863/0.003863, allocations: 162.4 kB / 24.7 MB, free: 8.91 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 0.8328/0.8328, allocations: 177.1 MB / 205 MB, free: 5.715 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.2291/0.2291, allocations: 34.26 MB / 295.7 MB, free: 0.7188 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 1.903e-06/1.903e-06, allocations: 0 / 443.4 MB, free: 1.215 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.92e-05/3.11e-05, allocations: 4.812 kB / 443.4 MB, free: 1.211 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.1622/0.1622, allocations: 6.038 MB / 449.5 MB, free: 41.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002776/0.165, allocations: 2.301 MB / 451.8 MB, free: 39.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005228/0.1655, allocations: 36 kB / 451.8 MB, free: 39.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.1668, allocations: 1.08 MB / 452.9 MB, free: 39.49 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.1679, allocations: 0.8894 MB / 453.8 MB, free: 39.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004928/0.1684, allocations: 322.4 kB / 454.1 MB, free: 38.92 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001181/0.1696, allocations: 1.914 MB / 456 MB, free: 38.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007924/0.1704, allocations: 1.097 MB / 457.1 MB, free: 37.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008129/0.1712, allocations: 1.042 MB / 458.1 MB, free: 37.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007786/0.172, allocations: 0.9937 MB / 459.1 MB, free: 36.94 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001617/0.1721, allocations: 128.3 kB / 459.3 MB, free: 36.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007285/0.1729, allocations: 0.6756 MB / 459.9 MB, free: 36.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004676/0.1733, allocations: 0.9852 MB / 460.9 MB, free: 36.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000402/0.1737, allocations: 0.5752 MB / 461.5 MB, free: 36.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002549/0.1763, allocations: 3.669 MB / 465.2 MB, free: 34.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1763, allocations: 0 / 465.2 MB, free: 34.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1763, allocations: 0 / 465.2 MB, free: 34.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.668e-05/0.1763, allocations: 3.219 kB / 465.2 MB, free: 34.81 MB / 410.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.002972/0.1793, allocations: 2.613 MB / 467.8 MB, free: 33.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1794, allocations: 9.812 kB / 467.8 MB, free: 33.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002426/0.1818, allocations: 1.597 MB / 469.4 MB, free: 32.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.1829, allocations: 1.031 MB / 470.4 MB, free: 32.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.589e-05/0.1829, allocations: 118.7 kB / 470.5 MB, free: 32.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/0.1831, allocations: 156.4 kB / 470.7 MB, free: 32.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004869/0.188, allocations: 6.19 MB / 476.9 MB, free: 29.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.398e-05/0.188, allocations: 27.84 kB / 476.9 MB, free: 29.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.1882, allocations: 79.08 kB / 477 MB, free: 29.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001213/0.1894, allocations: 1.441 MB / 478.4 MB, free: 28.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00649/0.1959, allocations: 5.38 MB / 483.8 MB, free: 27.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01716/0.213, allocations: 23.35 MB / 0.4953 GB, free: 9.559 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002986/0.216, allocations: 1.857 MB / 0.4971 GB, free: 8.988 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009969/0.217, allocations: 0.8846 MB / 0.4979 GB, free: 8.648 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002139/0.2172, allocations: 89.36 kB / 0.498 GB, free: 8.637 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.2173, allocations: 47.67 kB / 0.4981 GB, free: 8.586 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 3.687e-06/0.2173, allocations: 0 / 0.4981 GB, free: 8.586 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.0142/0.2315, allocations: 8.597 MB / 0.5065 GB, free: 4.023 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.2315, allocations: 141.2 kB / 0.5066 GB, free: 3.855 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002429/0.2339, allocations: 2.461 MB / 0.509 GB, free: 1.465 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001767/0.2341, allocations: 37.7 kB / 0.509 GB, free: 1.422 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009405/0.2351, allocations: 2.116 MB / 0.5111 GB, free: 15.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003213/0.2354, allocations: 448.6 kB / 0.5115 GB, free: 14.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007309/0.2361, allocations: 0.8556 MB / 0.5124 GB, free: 13.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.229e-05/0.2362, allocations: 334 kB / 0.5127 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.2375, allocations: 1.34 MB / 0.514 GB, free: 12.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00262/0.2401, allocations: 4.104 MB / 0.518 GB, free: 6.781 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004352/0.2444, allocations: 5.934 MB / 0.5238 GB, free: 15.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.844e-05/0.2445, allocations: 32 kB / 0.5238 GB, free: 15.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.00546/0.2499, allocations: 5.467 MB / 0.5292 GB, free: 9.965 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/0.25, allocations: 51.94 kB / 0.5292 GB, free: 9.914 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.399e-05/0.25, allocations: 96 kB / 0.5293 GB, free: 9.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006616/0.2507, allocations: 461.3 kB / 0.5297 GB, free: 9.367 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/0.2522, allocations: 0.9786 MB / 0.5307 GB, free: 8.387 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002774/0.2549, allocations: 3.519 MB / 0.5341 GB, free: 4.766 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.2563, allocations: 239.6 kB / 0.5344 GB, free: 4.531 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002089/0.2565, allocations: 268 kB / 0.5346 GB, free: 4.27 MB / 442.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.001446/0.258, allocations: 1.366 MB / 0.536 GB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.2581, allocations: 202.7 kB / 0.5361 GB, free: 2.691 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/0.2595, allocations: 1.304 MB / 0.5374 GB, free: 1.379 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.2595, allocations: 12 kB / 0.5374 GB, free: 1.367 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.2595, allocations: 4 kB / 0.5374 GB, free: 1.363 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.2595, allocations: 3.984 kB / 0.5374 GB, free: 1.359 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003902/0.2634, allocations: 3.62 MB / 0.541 GB, free: 13.69 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.2634, allocations: 4 kB / 0.541 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003204/0.2638, allocations: 139.8 kB / 0.5411 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004476/0.2642, allocations: 308.6 kB / 0.5414 GB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.363e-05/0.2642, allocations: 23.98 kB / 0.5414 GB, free: 13.22 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/0.2663, allocations: 2.916 MB / 0.5443 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.2663, allocations: 4.031 kB / 0.5443 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002581/0.2689, allocations: 3.043 MB / 0.5473 GB, free: 7.133 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.269, allocations: 178.5 kB / 0.5474 GB, free: 6.957 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.642e-05/0.2691, allocations: 12 kB / 0.5474 GB, free: 6.945 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000344/0.2695, allocations: 51.88 kB / 0.5475 GB, free: 6.895 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.967e-05/0.2696, allocations: 64.31 kB / 0.5475 GB, free: 6.832 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/0.2696, allocations: 28 kB / 0.5476 GB, free: 6.805 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001202/0.2708, allocations: 1.374 MB / 0.5489 GB, free: 5.41 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2708, allocations: 4.062 kB / 0.5489 GB, free: 5.406 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001796/0.2726, allocations: 0.582 MB / 0.5495 GB, free: 4.824 MB / 458.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.0002807/0.2729, allocations: 139 kB / 0.5496 GB, free: 4.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002813/0.2757, allocations: 3.105 MB / 0.5527 GB, free: 1.586 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2757, allocations: 0 / 0.5527 GB, free: 1.586 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006534/0.2764, allocations: 0.8067 MB / 0.5534 GB, free: 0.7656 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006766/0.277, allocations: 169.8 kB / 0.5536 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005701/0.2827, allocations: 5.742 MB / 0.5592 GB, free: 10.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001353/0.2841, allocations: 1.605 MB / 0.5608 GB, free: 9.164 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003333/0.2844, allocations: 176.5 kB / 0.5609 GB, free: 8.992 MB / 474.7 MB Notification: Performance of SimCode: time 2.184e-06/0.2844, allocations: 0 / 0.5609 GB, free: 8.992 MB / 474.7 MB Notification: Performance of Templates: time 0.03903/0.3235, allocations: 45.72 MB / 0.6056 GB, free: 11.33 MB / 0.5105 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.417739199474454]