Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00134/0.00134, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001096/0.001096, allocations: 104.7 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3992/0.3992, allocations: 44.82 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.0012, allocations: 59.91 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3031, allocations: 62.01 MB / 0.5151 GB, free: 37.75 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01288/0.316, allocations: 17.29 MB / 0.532 GB, free: 25.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009606/0.3257, allocations: 4.161 MB / 0.5361 GB, free: 22.65 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004154/0.3299, allocations: 66.25 kB / 0.5362 GB, free: 22.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00218/0.3321, allocations: 1.024 MB / 0.5372 GB, free: 22.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002345/0.3345, allocations: 0.8004 MB / 0.5379 GB, free: 21.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007206/0.3352, allocations: 277.4 kB / 0.5382 GB, free: 21.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002784/0.338, allocations: 2.789 MB / 0.5409 GB, free: 20.85 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001561/0.3396, allocations: 1.261 MB / 0.5422 GB, free: 20.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.3406, allocations: 0.6436 MB / 0.5428 GB, free: 20.14 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.3421, allocations: 1.052 MB / 0.5438 GB, free: 19.8 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002806/0.3424, allocations: 94.75 kB / 0.5439 GB, free: 19.8 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.3439, allocations: 0.7531 MB / 0.5446 GB, free: 19.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001138/0.345, allocations: 0.9167 MB / 0.5455 GB, free: 19.3 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.3462, allocations: 1.132 MB / 0.5466 GB, free: 18.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004706/0.351, allocations: 3.555 MB / 0.5501 GB, free: 17.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.351, allocations: 1.562 kB / 0.5501 GB, free: 17.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.351, allocations: 0 / 0.5501 GB, free: 17.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001064/0.3511, allocations: 0 / 0.5501 GB, free: 17.21 MB / 378.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.005234/0.3564, allocations: 2.68 MB / 0.5527 GB, free: 15.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3564, allocations: 17 kB / 0.5527 GB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004961/0.3614, allocations: 1.57 MB / 0.5543 GB, free: 14.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002257/0.3637, allocations: 1.071 MB / 0.5553 GB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.3638, allocations: 116.2 kB / 0.5554 GB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003561/0.3641, allocations: 158.5 kB / 0.5556 GB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007899/0.372, allocations: 6.181 MB / 0.5616 GB, free: 9.344 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.455e-05/0.3721, allocations: 27.75 kB / 0.5617 GB, free: 9.316 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001967/0.3723, allocations: 83.89 kB / 0.5617 GB, free: 9.234 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001963/0.3743, allocations: 1.448 MB / 0.5631 GB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007091/0.3814, allocations: 5.385 MB / 0.5684 GB, free: 2.398 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02688/0.4083, allocations: 24.86 MB / 0.5927 GB, free: 8.734 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00433/0.4127, allocations: 2.343 MB / 0.595 GB, free: 6.242 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.4139, allocations: 0.9861 MB / 0.5959 GB, free: 5.246 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003419/0.4142, allocations: 331.6 kB / 0.5963 GB, free: 4.867 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.4143, allocations: 46.48 kB / 0.5963 GB, free: 4.812 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 3.026e-06/0.4143, allocations: 0 / 0.5963 GB, free: 4.812 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.02138/0.4357, allocations: 8.443 MB / 0.6045 GB, free: 12.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.4358, allocations: 136.5 kB / 0.6047 GB, free: 12.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003447/0.4392, allocations: 2.644 MB / 0.6073 GB, free: 9.398 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.4394, allocations: 37.7 kB / 0.6073 GB, free: 9.355 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001181/0.4406, allocations: 2.02 MB / 0.6093 GB, free: 7.305 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003982/0.441, allocations: 442.6 kB / 0.6097 GB, free: 6.867 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001112/0.4421, allocations: 0.8649 MB / 0.6105 GB, free: 5.988 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.4422, allocations: 305.1 kB / 0.6108 GB, free: 5.688 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001748/0.444, allocations: 1.332 MB / 0.6121 GB, free: 4.348 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003403/0.4474, allocations: 4.108 MB / 0.6161 GB, free: 14.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005795/0.4532, allocations: 5.937 MB / 0.6219 GB, free: 7.516 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.477e-05/0.4533, allocations: 28 kB / 0.622 GB, free: 7.488 MB / 442.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008687/0.462, allocations: 5.496 MB / 0.6273 GB, free: 1.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.744e-05/0.4621, allocations: 51.98 kB / 0.6274 GB, free: 1.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.332e-05/0.4621, allocations: 103.9 kB / 0.6275 GB, free: 1.828 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.4632, allocations: 456.6 kB / 0.6279 GB, free: 1.379 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002558/0.4657, allocations: 0.9708 MB / 0.6289 GB, free: 416 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003709/0.4695, allocations: 3.396 MB / 0.6322 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002648/0.4721, allocations: 235.5 kB / 0.6324 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004006/0.4725, allocations: 268 kB / 0.6327 GB, free: 12.38 MB / 458.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.002134/0.4747, allocations: 1.36 MB / 0.634 GB, free: 11.01 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004493/0.4751, allocations: 221.2 kB / 0.6342 GB, free: 10.79 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002482/0.4776, allocations: 1.326 MB / 0.6355 GB, free: 9.453 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.913e-05/0.4777, allocations: 15.98 kB / 0.6355 GB, free: 9.438 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.4777, allocations: 7.938 kB / 0.6355 GB, free: 9.43 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.4777, allocations: 3.984 kB / 0.6355 GB, free: 9.426 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008585/0.4863, allocations: 4.238 MB / 0.6397 GB, free: 5.125 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/0.4864, allocations: 4 kB / 0.6397 GB, free: 5.121 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006624/0.487, allocations: 135.8 kB / 0.6398 GB, free: 4.988 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008713/0.4879, allocations: 320.5 kB / 0.6401 GB, free: 4.672 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.457e-05/0.488, allocations: 16 kB / 0.6401 GB, free: 4.656 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003139/0.4912, allocations: 2.819 MB / 0.6429 GB, free: 1.703 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.4912, allocations: 3.938 kB / 0.6429 GB, free: 1.699 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02989/0.5211, allocations: 16.18 MB / 0.6587 GB, free: 1.195 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007796/0.5219, allocations: 278.2 kB / 0.6589 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006238/0.5226, allocations: 12 kB / 0.6589 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/0.5242, allocations: 47.94 kB / 0.659 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003388/0.5245, allocations: 52.44 kB / 0.659 GB, free: 0.793 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001672/0.5247, allocations: 35.98 kB / 0.6591 GB, free: 0.7578 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005084/0.5298, allocations: 1.629 MB / 0.6607 GB, free: 15.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.5299, allocations: 0 / 0.6607 GB, free: 15.12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007125/0.537, allocations: 0.7773 MB / 0.6614 GB, free: 14.34 MB / 490.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.0006037/0.5376, allocations: 141.5 kB / 0.6616 GB, free: 14.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008851/0.5465, allocations: 3.206 MB / 0.6647 GB, free: 11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.5466, allocations: 3.938 kB / 0.6647 GB, free: 11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002296/0.5489, allocations: 0.8638 MB / 0.6655 GB, free: 10.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003076/0.552, allocations: 206.2 kB / 0.6657 GB, free: 9.922 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02073/0.5727, allocations: 7.501 MB / 0.6731 GB, free: 2.344 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004527/0.5773, allocations: 2.202 MB / 0.6752 GB, free: 108 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00715/0.5845, allocations: 1.407 MB / 0.6766 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000884/0.5854, allocations: 155.4 kB / 0.6767 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of SimCode: time 1.012e-06/0.5855, allocations: 0 / 0.6767 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of Templates: time 0.2981/0.8836, allocations: 23.25 MB / 0.6994 GB, free: 143.2 MB / 0.4948 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches