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.001329/0.001329, allocations: 110.8 kB / 16.41 MB, free: 6.027 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.001339/0.00134, allocations: 185.8 kB / 17.34 MB, free: 5.633 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.58/1.58, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2296/0.2296, allocations: 43.53 MB / 314.1 MB, free: 460 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.001554/0.001554, allocations: 68.47 kB / 441.8 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1322, 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.009019/0.1412, allocations: 6.803 MB / 0.4945 GB, free: 4.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004882/0.1461, allocations: 2.384 MB / 0.4968 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009723/0.1471, allocations: 35.94 kB / 0.4969 GB, free: 2.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002358/0.1495, allocations: 1.031 MB / 0.4979 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002428/0.152, allocations: 0.8713 MB / 0.4987 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008217/0.1529, allocations: 291.3 kB / 0.499 GB, free: 368 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002499/0.1554, allocations: 1.907 MB / 0.5009 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001725/0.1571, allocations: 1.268 MB / 0.5021 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.1584, allocations: 0.7082 MB / 0.5028 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/0.1599, allocations: 0.9769 MB / 0.5038 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004548/0.1604, allocations: 128 kB / 0.5039 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.1619, allocations: 0.7215 MB / 0.5046 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001109/0.163, allocations: 0.9388 MB / 0.5055 GB, free: 9.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001695/0.1647, allocations: 1.141 MB / 0.5066 GB, free: 8.527 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004902/0.1696, allocations: 3.744 MB / 0.5103 GB, free: 4.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1696, allocations: 0 / 0.5103 GB, free: 4.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1696, allocations: 0 / 0.5103 GB, free: 4.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001675/0.1698, 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.006455/0.1763, allocations: 2.664 MB / 0.5129 GB, free: 2.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.1763, allocations: 11.89 kB / 0.5129 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005308/0.1817, allocations: 1.569 MB / 0.5144 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001915/0.1836, allocations: 1.084 MB / 0.5155 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.023e-05/0.1837, allocations: 115.3 kB / 0.5156 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003006/0.184, allocations: 156 kB / 0.5157 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008832/0.1928, allocations: 6.186 MB / 0.5218 GB, free: 8.395 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.418e-05/0.1929, allocations: 35.66 kB / 0.5218 GB, free: 8.359 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002235/0.1932, allocations: 79.89 kB / 0.5219 GB, free: 8.281 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002442/0.1956, allocations: 1.441 MB / 0.5233 GB, free: 6.832 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/0.2058, allocations: 5.389 MB / 0.5286 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3073/0.5131, allocations: 24.76 MB / 0.5527 GB, free: 19.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006001/0.5192, allocations: 2.341 MB / 0.555 GB, free: 18.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.5205, allocations: 0.9865 MB / 0.556 GB, free: 17.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003218/0.5208, allocations: 334.3 kB / 0.5563 GB, free: 17.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.5208, allocations: 43.33 kB / 0.5563 GB, free: 17.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 4.478e-06/0.5209, allocations: 0 / 0.5563 GB, free: 17.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02237/0.5432, allocations: 8.451 MB / 0.5646 GB, free: 13.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.5433, allocations: 141.2 kB / 0.5647 GB, free: 13.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003498/0.5468, allocations: 2.641 MB / 0.5673 GB, free: 12.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001436/0.547, allocations: 37.64 kB / 0.5673 GB, free: 12.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009115/0.5479, allocations: 2.026 MB / 0.5693 GB, free: 10.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003099/0.5482, allocations: 442.2 kB / 0.5697 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008718/0.5491, allocations: 0.865 MB / 0.5706 GB, free: 10.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.449e-05/0.5492, allocations: 308.8 kB / 0.5709 GB, free: 9.816 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001613/0.5508, allocations: 1.333 MB / 0.5722 GB, free: 9.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003097/0.5539, allocations: 4.108 MB / 0.5762 GB, free: 4.617 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004939/0.5589, allocations: 5.937 MB / 0.582 GB, free: 15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.276e-05/0.5589, allocations: 31.38 kB / 0.582 GB, free: 15 MB / 430.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009096/0.568, allocations: 5.483 MB / 0.5874 GB, free: 9.523 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.28e-05/0.5681, allocations: 45 kB / 0.5874 GB, free: 9.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.815e-05/0.5682, allocations: 100 kB / 0.5875 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.5693, allocations: 460.4 kB / 0.588 GB, free: 8.934 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002709/0.572, allocations: 0.9786 MB / 0.5889 GB, free: 7.953 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004148/0.5762, allocations: 3.673 MB / 0.5925 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002978/0.5792, allocations: 235.5 kB / 0.5927 GB, free: 3.922 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003642/0.5796, allocations: 268 kB / 0.593 GB, free: 3.66 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.002012/0.5816, allocations: 1.365 MB / 0.5943 GB, free: 2.281 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003821/0.582, allocations: 221.2 kB / 0.5945 GB, free: 2.062 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/0.5844, allocations: 1.326 MB / 0.5958 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/0.5844, allocations: 12 kB / 0.5958 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.5844, allocations: 0 / 0.5958 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.5844, allocations: 7.984 kB / 0.5958 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007172/0.5916, allocations: 4.19 MB / 0.5999 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/0.5916, allocations: 8.812 kB / 0.5999 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006136/0.5923, allocations: 143.8 kB / 0.6001 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008425/0.5931, allocations: 316.5 kB / 0.6004 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.978e-05/0.5932, allocations: 16 kB / 0.6004 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003145/0.5963, allocations: 3.059 MB / 0.6034 GB, free: 8.801 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.5963, allocations: 10.89 kB / 0.6034 GB, free: 8.793 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004205/0.6006, allocations: 3.074 MB / 0.6064 GB, free: 5.707 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008665/0.6014, allocations: 407 kB / 0.6068 GB, free: 5.289 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002228/0.6017, allocations: 21.95 kB / 0.6068 GB, free: 5.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007246/0.6024, allocations: 47.88 kB / 0.6068 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.6026, allocations: 48.38 kB / 0.6069 GB, free: 5.176 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-05/0.6026, allocations: 31.98 kB / 0.6069 GB, free: 5.145 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002377/0.605, allocations: 1.629 MB / 0.6085 GB, free: 3.504 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.605, allocations: 0 / 0.6085 GB, free: 3.504 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003443/0.6085, allocations: 0.6021 MB / 0.6091 GB, free: 2.91 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.0003198/0.6088, allocations: 145.7 kB / 0.6092 GB, free: 2.762 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005324/0.6142, allocations: 3.224 MB / 0.6124 GB, free: 15.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.6142, allocations: 0 / 0.6124 GB, free: 15.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.6153, allocations: 0.8682 MB / 0.6132 GB, free: 14.67 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.6169, allocations: 204.3 kB / 0.6134 GB, free: 14.47 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.627, allocations: 5.451 MB / 0.6188 GB, free: 8.992 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002124/0.6291, allocations: 2.167 MB / 0.6209 GB, free: 6.789 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002899/0.632, allocations: 1.391 MB / 0.6222 GB, free: 5.391 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004472/0.6325, allocations: 159.4 kB / 0.6224 GB, free: 5.234 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6325, allocations: 3.938 kB / 0.6224 GB, free: 5.23 MB / 462.1 MB Notification: Performance of Templates: time 0.03785/0.6704, allocations: 18.19 MB / 0.6401 GB, free: 3.117 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