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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 105 kB / 16.94 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 191.3 kB / 17.86 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.1 MB / 223.7 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2144/0.2144, allocations: 43.52 MB / 314.6 MB, free: 0.5391 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00285/0.00285, allocations: 67.27 kB / 383.4 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1206, allocations: 57.79 MB / 441.2 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.006231/0.1269, allocations: 6.802 MB / 448 MB, free: 96 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005046/0.132, allocations: 2.389 MB / 450.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.1331, allocations: 31.94 kB / 450.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002452/0.1355, allocations: 1.039 MB / 451.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002471/0.1381, allocations: 0.8284 MB / 452.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009793/0.1391, allocations: 315.2 kB / 452.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002913/0.142, allocations: 1.892 MB / 454.5 MB, free: 9.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002157/0.1442, allocations: 1.268 MB / 455.7 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001528/0.1458, allocations: 0.716 MB / 456.5 MB, free: 7.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001553/0.1474, allocations: 0.973 MB / 457.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005329/0.1479, allocations: 128 kB / 457.6 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001675/0.1496, allocations: 0.702 MB / 458.3 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001189/0.1509, allocations: 0.9387 MB / 459.2 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001921/0.1528, allocations: 1.137 MB / 460.3 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004662/0.1575, allocations: 3.555 MB / 463.9 MB, free: 128 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.987e-05/0.1575, allocations: 4 kB / 463.9 MB, free: 124 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1575, allocations: 3.938 kB / 463.9 MB, free: 120 kB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001146/0.1577, allocations: 0 / 463.9 MB, free: 120 kB / 334.1 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.005702/0.1634, allocations: 2.657 MB / 466.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.1634, allocations: 15.89 kB / 466.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005568/0.169, allocations: 1.561 MB / 468.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002307/0.1714, allocations: 1.073 MB / 469.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.1715, allocations: 123.3 kB / 469.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004163/0.1719, allocations: 156 kB / 469.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01081/0.1827, allocations: 6.178 MB / 475.7 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001095/0.1829, allocations: 35.66 kB / 475.7 MB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005111/0.1834, allocations: 83.88 kB / 475.8 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002683/0.1861, allocations: 1.441 MB / 477.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01059/0.1968, allocations: 5.397 MB / 482.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03375/0.2306, allocations: 24.86 MB / 0.4956 GB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005233/0.2358, allocations: 2.339 MB / 0.4979 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/0.2373, allocations: 0.9911 MB / 0.4988 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003999/0.2378, allocations: 335.5 kB / 0.4991 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/0.2378, allocations: 46.56 kB / 0.4992 GB, free: 15.22 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 3.476e-06/0.2378, allocations: 0 / 0.4992 GB, free: 15.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.0244/0.2623, allocations: 8.427 MB / 0.5074 GB, free: 6.652 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.782e-05/0.2624, allocations: 144.4 kB / 0.5076 GB, free: 6.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003723/0.2661, allocations: 2.64 MB / 0.5101 GB, free: 3.816 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001941/0.2663, allocations: 41.7 kB / 0.5102 GB, free: 3.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001408/0.2677, allocations: 2.024 MB / 0.5122 GB, free: 1.715 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005036/0.2683, allocations: 434.6 kB / 0.5126 GB, free: 1.285 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001067/0.2693, allocations: 0.8726 MB / 0.5134 GB, free: 408 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.2695, allocations: 301.1 kB / 0.5137 GB, free: 104 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001999/0.2715, allocations: 1.336 MB / 0.515 GB, free: 14.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004101/0.2756, allocations: 4.1 MB / 0.519 GB, free: 9.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006714/0.2823, allocations: 5.939 MB / 0.5248 GB, free: 1.926 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.022e-05/0.2824, allocations: 32 kB / 0.5248 GB, free: 1.895 MB / 414.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.1804/0.4628, allocations: 5.478 MB / 0.5302 GB, free: 84.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.463, allocations: 47.69 kB / 0.5302 GB, free: 84.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000186/0.4632, allocations: 98 kB / 0.5303 GB, free: 84.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.4644, allocations: 461.6 kB / 0.5308 GB, free: 84.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002989/0.4674, allocations: 0.9787 MB / 0.5317 GB, free: 84.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003978/0.4715, allocations: 3.673 MB / 0.5353 GB, free: 82.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002959/0.4744, allocations: 234 kB / 0.5355 GB, free: 82.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006216/0.4751, allocations: 270.1 kB / 0.5358 GB, free: 82.88 MB / 414.1 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.002164/0.4773, allocations: 1.376 MB / 0.5371 GB, free: 82.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004142/0.4777, allocations: 215.6 kB / 0.5373 GB, free: 82.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002456/0.4801, allocations: 1.326 MB / 0.5386 GB, free: 82.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.945e-05/0.4802, allocations: 14.19 kB / 0.5387 GB, free: 82.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.4802, allocations: 2.281 kB / 0.5387 GB, free: 82.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/0.4803, allocations: 10.7 kB / 0.5387 GB, free: 82.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008158/0.4884, allocations: 4.25 MB / 0.5428 GB, free: 80.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/0.4885, allocations: 0 / 0.5428 GB, free: 80.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006284/0.4891, allocations: 140.3 kB / 0.543 GB, free: 80.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008016/0.4899, allocations: 316.4 kB / 0.5433 GB, free: 80.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.893e-05/0.49, allocations: 17.52 kB / 0.5433 GB, free: 80.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002665/0.4927, allocations: 3.032 MB / 0.5462 GB, free: 78.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.4927, allocations: 7.875 kB / 0.5462 GB, free: 78.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003605/0.4963, allocations: 3.063 MB / 0.5492 GB, free: 77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008777/0.4973, allocations: 414.3 kB / 0.5496 GB, free: 76.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000304/0.4976, allocations: 15.44 kB / 0.5496 GB, free: 76.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008097/0.4984, allocations: 49.09 kB / 0.5497 GB, free: 76.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.4986, allocations: 60.34 kB / 0.5497 GB, free: 76.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-05/0.4986, allocations: 27.64 kB / 0.5498 GB, free: 76.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002187/0.5008, allocations: 1.632 MB / 0.5514 GB, free: 76.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5008, allocations: 0 / 0.5514 GB, free: 76.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003164/0.504, allocations: 0.5951 MB / 0.5519 GB, free: 76.02 MB / 414.1 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.0003282/0.5044, allocations: 146 kB / 0.5521 GB, free: 75.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004556/0.5089, allocations: 3.468 MB / 0.5555 GB, free: 73.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.509, allocations: 0 / 0.5555 GB, free: 73.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009722/0.5099, allocations: 0.8647 MB / 0.5563 GB, free: 72.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.5114, allocations: 209.9 kB / 0.5565 GB, free: 72.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007994/0.5194, allocations: 5.803 MB / 0.5622 GB, free: 66.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001554/0.521, allocations: 2.177 MB / 0.5643 GB, free: 64.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000564/0.5216, allocations: 187.4 kB / 0.5645 GB, free: 63.95 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.5216, allocations: 4 kB / 0.5645 GB, free: 63.94 MB / 414.1 MB Notification: Performance of Templates: time 0.0505/0.5721, allocations: 45.73 MB / 0.6091 GB, free: 18.26 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches