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.001346/0.001346, allocations: 109.5 kB / 16.41 MB, free: 6.426 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.00148/0.00148, allocations: 185.5 kB / 17.34 MB, free: 5.73 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.598/1.598, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2328/0.2328, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 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.001836/0.001836, allocations: 67.91 kB / 441.8 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1299, allocations: 57.79 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01162/0.1416, allocations: 6.807 MB / 0.4945 GB, free: 4.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006743/0.1484, allocations: 2.384 MB / 0.4968 GB, free: 2.594 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001418/0.1498, allocations: 31.94 kB / 0.4969 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002644/0.1525, allocations: 1.039 MB / 0.4979 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003103/0.1557, allocations: 0.8635 MB / 0.4987 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.1568, allocations: 299.2 kB / 0.499 GB, free: 368 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003157/0.16, allocations: 1.908 MB / 0.5009 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001963/0.1619, allocations: 1.264 MB / 0.5021 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/0.1638, allocations: 0.7198 MB / 0.5028 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001831/0.1656, allocations: 0.9691 MB / 0.5038 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005658/0.1662, allocations: 128 kB / 0.5039 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001862/0.1681, allocations: 0.7215 MB / 0.5046 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001529/0.1696, allocations: 0.9426 MB / 0.5055 GB, free: 9.672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00255/0.1722, allocations: 1.137 MB / 0.5066 GB, free: 8.527 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005305/0.1775, allocations: 3.744 MB / 0.5103 GB, free: 4.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1775, allocations: 0 / 0.5103 GB, free: 4.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1775, allocations: 0 / 0.5103 GB, free: 4.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.017e-05/0.1776, allocations: 0 / 0.5103 GB, free: 4.77 MB / 398.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.003991/0.1816, allocations: 2.653 MB / 0.5129 GB, free: 2.059 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1816, allocations: 15.89 kB / 0.5129 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004791/0.1864, allocations: 1.565 MB / 0.5144 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/0.1883, allocations: 1.084 MB / 0.5155 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.732e-05/0.1884, allocations: 123.3 kB / 0.5156 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002872/0.1886, allocations: 152 kB / 0.5157 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009766/0.1984, allocations: 6.19 MB / 0.5218 GB, free: 8.395 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.986e-05/0.1985, allocations: 27.72 kB / 0.5218 GB, free: 8.367 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002247/0.1988, allocations: 83.89 kB / 0.5219 GB, free: 8.285 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0021/0.2009, allocations: 1.441 MB / 0.5233 GB, free: 6.836 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008779/0.2097, allocations: 5.393 MB / 0.5286 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3125/0.5222, allocations: 24.76 MB / 0.5527 GB, free: 19.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004776/0.527, allocations: 2.341 MB / 0.555 GB, free: 18.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001388/0.5284, allocations: 0.9895 MB / 0.556 GB, free: 17.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003307/0.5288, allocations: 326.5 kB / 0.5563 GB, free: 17.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.5288, allocations: 50.77 kB / 0.5563 GB, free: 17.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 3.556e-06/0.5288, allocations: 0 / 0.5563 GB, free: 17.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02172/0.5505, allocations: 8.449 MB / 0.5646 GB, free: 13.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.5506, allocations: 141.7 kB / 0.5647 GB, free: 13.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004118/0.5548, allocations: 2.635 MB / 0.5673 GB, free: 12.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001823/0.555, allocations: 41.61 kB / 0.5673 GB, free: 12.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009269/0.5559, allocations: 2.027 MB / 0.5693 GB, free: 10.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003585/0.5563, allocations: 436.5 kB / 0.5697 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009746/0.5573, allocations: 0.8659 MB / 0.5706 GB, free: 10.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.038e-05/0.5573, allocations: 305.1 kB / 0.5709 GB, free: 9.809 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/0.5589, allocations: 1.339 MB / 0.5722 GB, free: 9.168 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002914/0.5618, allocations: 4.107 MB / 0.5762 GB, free: 4.602 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005912/0.5677, allocations: 5.941 MB / 0.582 GB, free: 14.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-05/0.5679, allocations: 28 kB / 0.582 GB, free: 14.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01108/0.5789, allocations: 5.485 MB / 0.5874 GB, free: 9.543 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.025e-05/0.5791, allocations: 44.94 kB / 0.5874 GB, free: 9.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001299/0.5792, allocations: 100 kB / 0.5875 GB, free: 9.402 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.5804, allocations: 464.2 kB / 0.588 GB, free: 8.949 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002786/0.5832, allocations: 0.9747 MB / 0.5889 GB, free: 7.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004221/0.5875, allocations: 3.67 MB / 0.5925 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003311/0.5908, allocations: 227.5 kB / 0.5927 GB, free: 3.949 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004687/0.5913, allocations: 272 kB / 0.593 GB, free: 3.684 MB / 430.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.002332/0.5936, allocations: 1.373 MB / 0.5943 GB, free: 2.297 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005182/0.5941, allocations: 217.2 kB / 0.5945 GB, free: 2.082 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/0.5965, allocations: 1.326 MB / 0.5958 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.353e-05/0.5966, allocations: 15.83 kB / 0.5958 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.5966, allocations: 3.938 kB / 0.5958 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.25e-05/0.5966, allocations: 7.984 kB / 0.5958 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007309/0.6039, allocations: 4.179 MB / 0.5999 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.604, allocations: 4 kB / 0.5999 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006197/0.6046, allocations: 139.8 kB / 0.6001 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008408/0.6054, allocations: 312.6 kB / 0.6004 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.37e-05/0.6055, allocations: 32.17 kB / 0.6004 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003314/0.6089, allocations: 3.056 MB / 0.6034 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.6089, allocations: 4.812 kB / 0.6034 GB, free: 8.824 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004343/0.6132, allocations: 3.081 MB / 0.6064 GB, free: 5.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/0.6143, allocations: 410 kB / 0.6068 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005301/0.6149, allocations: 12 kB / 0.6068 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009779/0.6159, allocations: 51.88 kB / 0.6068 GB, free: 5.246 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.616, allocations: 52.3 kB / 0.6069 GB, free: 5.195 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.288e-05/0.6161, allocations: 32 kB / 0.6069 GB, free: 5.164 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002426/0.6185, allocations: 1.633 MB / 0.6085 GB, free: 3.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6185, allocations: 0 / 0.6085 GB, free: 3.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003757/0.6223, allocations: 0.6022 MB / 0.6091 GB, free: 2.926 MB / 446.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.0003552/0.6227, allocations: 138.5 kB / 0.6092 GB, free: 2.785 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00475/0.6274, allocations: 3.227 MB / 0.6124 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6275, allocations: 0.625 kB / 0.6124 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.6285, allocations: 0.8725 MB / 0.6132 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/0.6299, allocations: 201.5 kB / 0.6134 GB, free: 14.49 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009779/0.6397, allocations: 5.454 MB / 0.6188 GB, free: 9.008 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00319/0.643, allocations: 2.171 MB / 0.6209 GB, free: 6.801 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003061/0.646, allocations: 1.391 MB / 0.6222 GB, free: 5.402 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006522/0.6467, allocations: 159.4 kB / 0.6224 GB, free: 5.246 MB / 462.1 MB Notification: Performance of SimCode: time 1.693e-06/0.6467, allocations: 3.938 kB / 0.6224 GB, free: 5.242 MB / 462.1 MB Notification: Performance of Templates: time 0.03993/0.6867, allocations: 18.18 MB / 0.6401 GB, free: 3.145 MB / 478.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/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) Reference file matches