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.0008565/0.0008565, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0008064/0.0008064, allocations: 173.9 kB / 23.96 MB, free: 0.5977 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.8488/0.8488, allocations: 158.6 MB / 185.7 MB, free: 3.023 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.1197/0.1197, allocations: 32.37 MB / 270.3 MB, free: 14.98 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.562e-06/1.562e-06, allocations: 0 / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.623e-05, allocations: 5.656 kB / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.005158/0.005184, allocations: 6.083 MB / 414.2 MB, free: 6.926 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003386/0.008571, allocations: 2.271 MB / 416.4 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004687/0.00904, allocations: 31.88 kB / 416.5 MB, free: 4.613 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.01039, allocations: 1.07 MB / 417.5 MB, free: 3.539 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001218/0.01161, allocations: 0.8823 MB / 418.4 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005328/0.01214, allocations: 323 kB / 418.7 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001431/0.01357, allocations: 1.942 MB / 420.7 MB, free: 396 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008686/0.01444, allocations: 1.111 MB / 421.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008237/0.01526, allocations: 1.052 MB / 422.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008665/0.01613, allocations: 0.9895 MB / 423.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.01626, allocations: 131.9 kB / 424 MB, free: 13.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007244/0.01698, allocations: 0.6668 MB / 424.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005177/0.0175, allocations: 1.005 MB / 425.6 MB, free: 11.4 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003814/0.01788, allocations: 0.5876 MB / 426.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002314/0.0202, allocations: 3.694 MB / 429.9 MB, free: 7.105 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.0202, allocations: 0 / 429.9 MB, free: 7.105 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.0202, allocations: 0 / 429.9 MB, free: 7.105 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.554e-05/0.02023, allocations: 0 / 429.9 MB, free: 7.105 MB / 362.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.002837/0.02306, allocations: 2.631 MB / 432.6 MB, free: 4.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.0231, allocations: 12.03 kB / 432.6 MB, free: 4.418 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002646/0.02575, allocations: 1.602 MB / 434.2 MB, free: 2.812 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.02692, allocations: 1.038 MB / 435.2 MB, free: 1.746 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.028e-05/0.02698, allocations: 115.3 kB / 435.3 MB, free: 1.633 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/0.02717, allocations: 152.3 kB / 435.5 MB, free: 1.484 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1604/0.1876, allocations: 6.189 MB / 441.7 MB, free: 35.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.968e-05/0.1876, allocations: 28.78 kB / 441.7 MB, free: 35.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.1878, allocations: 79.5 kB / 441.8 MB, free: 35.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001488/0.1893, allocations: 1.445 MB / 443.2 MB, free: 34.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006159/0.1954, allocations: 5.38 MB / 448.6 MB, free: 33.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01246/0.2079, allocations: 23.35 MB / 471.9 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/0.21, allocations: 1.856 MB / 473.8 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005637/0.2106, allocations: 0.8756 MB / 474.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/0.2107, allocations: 95.06 kB / 474.8 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.2107, allocations: 44.25 kB / 474.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=96): time 2.805e-06/0.2107, allocations: 6.781 kB / 474.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=106): time 0.0109/0.2216, allocations: 8.608 MB / 483.4 MB, free: 2.953 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.2217, allocations: 148.5 kB / 483.6 MB, free: 2.777 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/0.2232, allocations: 2.457 MB / 486 MB, free: 368 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.2233, allocations: 37.7 kB / 486.1 MB, free: 324 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008445/0.2241, allocations: 2.112 MB / 488.2 MB, free: 14.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002574/0.2244, allocations: 452.6 kB / 488.6 MB, free: 13.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006937/0.225, allocations: 0.8597 MB / 489.5 MB, free: 12.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.399e-05/0.2251, allocations: 337.9 kB / 489.8 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.2263, allocations: 1.336 MB / 491.1 MB, free: 11.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002417/0.2288, allocations: 4.104 MB / 495.2 MB, free: 5.719 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003899/0.2327, allocations: 5.938 MB / 0.4894 GB, free: 14.39 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-05/0.2327, allocations: 28 kB / 0.4895 GB, free: 14.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.005063/0.2377, allocations: 5.471 MB / 0.4948 GB, free: 8.891 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.183e-05/0.2378, allocations: 48 kB / 0.4948 GB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.825e-05/0.2378, allocations: 100 kB / 0.4949 GB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006062/0.2384, allocations: 457 kB / 0.4954 GB, free: 8.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.2399, allocations: 0.9708 MB / 0.4963 GB, free: 7.324 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002586/0.2424, allocations: 3.527 MB / 0.4998 GB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.2437, allocations: 231.7 kB / 0.5 GB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001975/0.2439, allocations: 274 kB / 0.5003 GB, free: 3.211 MB / 394.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.001306/0.2452, allocations: 1.365 MB / 0.5016 GB, free: 1.832 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.2454, allocations: 198.6 kB / 0.5018 GB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/0.2467, allocations: 1.305 MB / 0.5031 GB, free: 332 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.2468, allocations: 16 kB / 0.5031 GB, free: 316 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.2468, allocations: 0 / 0.5031 GB, free: 316 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.2468, allocations: 7.984 kB / 0.5031 GB, free: 308 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003744/0.2505, allocations: 3.609 MB / 0.5066 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2505, allocations: 0 / 0.5066 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/0.2508, allocations: 143.8 kB / 0.5067 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004459/0.2513, allocations: 318.4 kB / 0.507 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-05/0.2513, allocations: 16 kB / 0.5071 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/0.2534, allocations: 2.923 MB / 0.5099 GB, free: 9.176 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2534, allocations: 3.938 kB / 0.5099 GB, free: 9.172 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002475/0.2558, allocations: 3.063 MB / 0.5129 GB, free: 6.086 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003908/0.2562, allocations: 318.4 kB / 0.5132 GB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.763e-05/0.2563, allocations: 19.56 kB / 0.5132 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003467/0.2567, allocations: 50.59 kB / 0.5133 GB, free: 5.711 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.442e-05/0.2568, allocations: 52.39 kB / 0.5133 GB, free: 5.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.159e-05/0.2568, allocations: 28 kB / 0.5134 GB, free: 5.633 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001159/0.258, allocations: 1.382 MB / 0.5147 GB, free: 4.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.258, allocations: 0 / 0.5147 GB, free: 4.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001816/0.2598, allocations: 0.5898 MB / 0.5153 GB, free: 3.641 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.0002563/0.26, allocations: 150.9 kB / 0.5154 GB, free: 3.484 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002726/0.2628, allocations: 3.096 MB / 0.5184 GB, free: 408 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2628, allocations: 192 / 0.5184 GB, free: 408 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006472/0.2634, allocations: 0.8146 MB / 0.5192 GB, free: 15.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006704/0.2641, allocations: 166.1 kB / 0.5194 GB, free: 15.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005328/0.2694, allocations: 5.751 MB / 0.525 GB, free: 9.602 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/0.2706, allocations: 1.606 MB / 0.5266 GB, free: 7.961 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/0.2709, allocations: 180.5 kB / 0.5268 GB, free: 7.785 MB / 426.7 MB Notification: Performance of SimCode: time 1.403e-06/0.2709, allocations: 0 / 0.5268 GB, free: 7.785 MB / 426.7 MB Notification: Performance of Templates: time 0.03364/0.3045, allocations: 45.87 MB / 0.5715 GB, free: 9.91 MB / 474.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.778404268436134]