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.001193/0.001193, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001944/0.003137, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001157/0.001157, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001614/0.002771, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.033/1.033, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1027/1.136, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.286/0.286, allocations: 34.24 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02933/0.3154, allocations: 13.11 MB / 291.5 MB, free: 7.328 MB / 282.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.034e-06/2.034e-06, allocations: 0 / 292.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.142e-05, allocations: 8.734 kB / 292.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.006935/0.006967, allocations: 6.55 MB / 299.4 MB, free: 15.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004734/0.0117, allocations: 2.47 MB / 301.8 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.0127, allocations: 43.75 kB / 301.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.01421, allocations: 1.074 MB / 303 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001882/0.01609, allocations: 0.9017 MB / 303.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006602/0.01675, allocations: 311 kB / 304.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002437/0.01919, allocations: 1.895 MB / 306.1 MB, free: 8.922 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.02048, allocations: 1.104 MB / 307.2 MB, free: 7.785 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001619/0.0221, allocations: 1.117 MB / 308.3 MB, free: 6.664 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.02325, allocations: 0.9115 MB / 309.2 MB, free: 5.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002419/0.02349, allocations: 128 kB / 309.3 MB, free: 5.625 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.02467, allocations: 0.6901 MB / 310 MB, free: 4.934 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006504/0.02532, allocations: 0.8959 MB / 310.9 MB, free: 4.035 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000517/0.02584, allocations: 494.1 kB / 311.4 MB, free: 3.547 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002624/0.02846, allocations: 2.311 MB / 313.7 MB, free: 1.227 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.432e-05/0.02847, allocations: 0 / 313.7 MB, free: 1.227 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.02848, allocations: 3.984 kB / 313.7 MB, free: 1.223 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.736e-05/0.02852, allocations: 4 kB / 313.7 MB, free: 1.219 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.003177/0.0317, allocations: 2.995 MB / 316.7 MB, free: 14.17 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.03174, allocations: 8.031 kB / 316.7 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001871/0.03361, allocations: 0.7537 MB / 317.5 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.0347, allocations: 0.8206 MB / 318.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.461e-05/0.03477, allocations: 119.3 kB / 318.4 MB, free: 12.44 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/0.03496, allocations: 164.2 kB / 318.6 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00601/0.04097, allocations: 3.006 MB / 321.6 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.422e-05/0.04102, allocations: 31.73 kB / 321.6 MB, free: 8.754 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/0.04116, allocations: 79.89 kB / 321.7 MB, free: 8.676 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001064/0.04223, allocations: 1.156 MB / 322.8 MB, free: 7.523 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/0.04466, allocations: 1.556 MB / 324.4 MB, free: 5.953 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01628/0.06093, allocations: 20.3 MB / 344.7 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.0626, allocations: 0.7477 MB / 345.4 MB, free: 12 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.06283, allocations: 192 kB / 345.6 MB, free: 15.81 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002471/0.0653, allocations: 1.685 MB / 347.3 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.06534, allocations: 42.5 kB / 347.4 MB, free: 14.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=77): time 3.687e-06/0.06534, allocations: 0 / 347.4 MB, free: 14.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=84): time 0.005638/0.07098, allocations: 2.401 MB / 349.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.07104, allocations: 148.3 kB / 349.9 MB, free: 11.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.07276, allocations: 1.882 MB / 351.8 MB, free: 9.492 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/0.07281, allocations: 37.7 kB / 351.8 MB, free: 9.449 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001054/0.07386, allocations: 2.123 MB / 353.9 MB, free: 7.301 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000315/0.07417, allocations: 377.2 kB / 354.3 MB, free: 6.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007356/0.07491, allocations: 0.8184 MB / 355.1 MB, free: 6.098 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.07502, allocations: 345.9 kB / 355.5 MB, free: 5.754 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005106/0.07553, allocations: 434.6 kB / 355.9 MB, free: 5.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/0.07745, allocations: 3.241 MB / 359.1 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003651/0.0811, allocations: 4.534 MB / 363.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.287e-05/0.08117, allocations: 32 kB / 363.7 MB, free: 10.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.003741/0.08491, allocations: 2.921 MB / 366.6 MB, free: 7.633 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.599e-05/0.08497, allocations: 56.88 kB / 366.7 MB, free: 7.578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000123/0.08509, allocations: 108 kB / 366.8 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003449/0.08543, allocations: 187.6 kB / 367 MB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/0.08713, allocations: 1.065 MB / 368 MB, free: 6.219 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.08825, allocations: 1.436 MB / 369.5 MB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/0.09011, allocations: 203.7 kB / 369.7 MB, free: 4.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002648/0.09038, allocations: 244 kB / 369.9 MB, free: 4.242 MB / 362.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.0008381/0.09122, allocations: 488.7 kB / 370.4 MB, free: 3.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000239/0.09145, allocations: 127.8 kB / 370.5 MB, free: 3.625 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004517/0.09191, allocations: 335.6 kB / 370.8 MB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.09192, allocations: 4.094 kB / 370.8 MB, free: 3.285 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.09193, allocations: 4 kB / 370.8 MB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.09194, allocations: 7.969 kB / 370.8 MB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002967/0.0949, allocations: 2.012 MB / 372.9 MB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.929e-05/0.09492, allocations: 12 kB / 372.9 MB, free: 1.145 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000284/0.09521, allocations: 115.8 kB / 373 MB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003663/0.09557, allocations: 186.4 kB / 373.2 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003317/0.09591, allocations: 170 kB / 373.3 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-05/0.09595, allocations: 24.36 kB / 373.4 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008643/0.09682, allocations: 1.218 MB / 374.6 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.09682, allocations: 11.94 kB / 374.6 MB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009852/0.09781, allocations: 1.108 MB / 375.7 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.09797, allocations: 24.05 kB / 375.7 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003233/0.09829, allocations: 16 kB / 375.7 MB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.904e-05/0.09837, allocations: 59.78 kB / 375.8 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/0.09841, allocations: 24 kB / 375.8 MB, free: 14.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006679/0.09908, allocations: 0.7117 MB / 376.5 MB, free: 13.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-08/0.09908, allocations: 0 / 376.5 MB, free: 13.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002566/0.1016, allocations: 0.5312 MB / 377.1 MB, free: 12.75 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.0003463/0.102, allocations: 128.1 kB / 377.2 MB, free: 12.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002369/0.1044, allocations: 1.797 MB / 379 MB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001179/0.1045, allocations: 68.06 kB / 379 MB, free: 10.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.1048, allocations: 343.7 kB / 379.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.1062, allocations: 1.096 MB / 380.5 MB, free: 9.207 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007494/0.1137, allocations: 4.394 MB / 384.9 MB, free: 4.684 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007518/0.1144, allocations: 0.7077 MB / 385.6 MB, free: 3.949 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009427/0.1154, allocations: 320.4 kB / 385.9 MB, free: 3.633 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004005/0.1158, allocations: 315.3 kB / 386.2 MB, free: 3.324 MB / 378.7 MB Notification: Performance of SimCode: time 1.834e-06/0.1158, allocations: 0 / 386.2 MB, free: 3.324 MB / 378.7 MB Notification: Performance of Templates: time 0.02842/0.1442, allocations: 11.32 MB / 397.5 MB, free: 8.035 MB / 394.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3523885337635875]