Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001558/0.001558, allocations: 183.9 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1883/0.1883, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.91 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2859, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.00659/0.2926, allocations: 6.796 MB / 0.525 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004171/0.2968, allocations: 2.384 MB / 0.5274 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005291/0.2973, allocations: 29.97 kB / 0.5274 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001974/0.2993, allocations: 1.034 MB / 0.5284 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001774/0.3011, allocations: 0.8802 MB / 0.5293 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007009/0.3018, allocations: 296 kB / 0.5296 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001976/0.3038, allocations: 1.898 MB / 0.5314 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/0.3051, allocations: 1.262 MB / 0.5326 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000903/0.3061, allocations: 0.7176 MB / 0.5333 GB, free: 9.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.3071, allocations: 0.9612 MB / 0.5343 GB, free: 8.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002408/0.3074, allocations: 128.7 kB / 0.5344 GB, free: 8.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.3085, allocations: 0.7229 MB / 0.5351 GB, free: 8.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007617/0.3093, allocations: 0.9339 MB / 0.536 GB, free: 8.039 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009203/0.3102, allocations: 1.147 MB / 0.5371 GB, free: 7.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003875/0.3141, allocations: 3.756 MB / 0.5408 GB, free: 4.594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3142, allocations: 4 kB / 0.5408 GB, free: 4.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3142, allocations: 1.781 kB / 0.5408 GB, free: 4.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.115e-05/0.3142, allocations: 0 / 0.5408 GB, free: 4.59 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.004661/0.3189, allocations: 2.738 MB / 0.5435 GB, free: 2.328 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.319, allocations: 8.031 kB / 0.5435 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004769/0.3194, allocations: 462.4 kB / 0.5439 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005288/0.3247, allocations: 1.578 MB / 0.5455 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002662/0.3274, allocations: 1.092 MB / 0.5465 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.221e-05/0.3275, allocations: 115.3 kB / 0.5467 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000361/0.3279, allocations: 159.8 kB / 0.5468 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008485/0.3364, allocations: 6.182 MB / 0.5528 GB, free: 8.199 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.906e-05/0.3365, allocations: 39.67 kB / 0.5529 GB, free: 8.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002208/0.3367, allocations: 79.89 kB / 0.553 GB, free: 8.082 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002257/0.339, allocations: 1.437 MB / 0.5544 GB, free: 6.645 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0082/0.3472, allocations: 5.393 MB / 0.5596 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02381/0.371, allocations: 24.81 MB / 0.5839 GB, free: 7.641 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004158/0.3752, allocations: 2.343 MB / 0.5861 GB, free: 5.148 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.3763, allocations: 0.9988 MB / 0.5871 GB, free: 4.137 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003171/0.3766, allocations: 323.2 kB / 0.5874 GB, free: 3.766 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.3767, allocations: 46.56 kB / 0.5875 GB, free: 3.711 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 3.306e-06/0.3767, allocations: 4 kB / 0.5875 GB, free: 3.707 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.02085/0.3975, allocations: 8.555 MB / 0.5958 GB, free: 11.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.289e-05/0.3976, allocations: 148.4 kB / 0.596 GB, free: 10.85 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003151/0.4008, allocations: 2.644 MB / 0.5985 GB, free: 8.18 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.481e-05/0.4009, allocations: 45.69 kB / 0.5986 GB, free: 8.129 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001133/0.402, allocations: 2.108 MB / 0.6007 GB, free: 6 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003716/0.4024, allocations: 460.6 kB / 0.6011 GB, free: 5.547 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009648/0.4034, allocations: 0.8695 MB / 0.6019 GB, free: 4.664 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.07e-05/0.4035, allocations: 301.1 kB / 0.6022 GB, free: 4.367 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/0.4051, allocations: 1.332 MB / 0.6035 GB, free: 3.027 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0031/0.4083, allocations: 4.112 MB / 0.6075 GB, free: 13.51 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005416/0.4137, allocations: 5.94 MB / 0.6133 GB, free: 6.191 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.54e-05/0.4137, allocations: 28 kB / 0.6134 GB, free: 6.164 MB / 478.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.00777/0.4215, allocations: 5.495 MB / 0.6187 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.827e-05/0.4216, allocations: 44.09 kB / 0.6188 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.313e-05/0.4217, allocations: 103.9 kB / 0.6189 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009862/0.4227, allocations: 464.8 kB / 0.6193 GB, free: 60 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002481/0.4252, allocations: 0.9708 MB / 0.6203 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003655/0.4288, allocations: 3.669 MB / 0.6239 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/0.4314, allocations: 231.7 kB / 0.6241 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003268/0.4317, allocations: 272 kB / 0.6243 GB, free: 10.79 MB / 494.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.001792/0.4335, allocations: 1.372 MB / 0.6257 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003301/0.4339, allocations: 234.4 kB / 0.6259 GB, free: 9.168 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002065/0.4359, allocations: 1.322 MB / 0.6272 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/0.436, allocations: 12 kB / 0.6272 GB, free: 7.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.436, allocations: 0 / 0.6272 GB, free: 7.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.436, allocations: 7.984 kB / 0.6272 GB, free: 7.812 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00665/0.4427, allocations: 4.205 MB / 0.6313 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.4427, allocations: 8 kB / 0.6313 GB, free: 3.539 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005951/0.4433, allocations: 131.8 kB / 0.6314 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008011/0.4441, allocations: 320.5 kB / 0.6318 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.077e-05/0.4442, allocations: 15.98 kB / 0.6318 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002989/0.4472, allocations: 3.071 MB / 0.6348 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.4472, allocations: 3.938 kB / 0.6348 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003694/0.4509, allocations: 3.085 MB / 0.6378 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005433/0.4514, allocations: 287.5 kB / 0.6381 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/0.4517, allocations: 15.98 kB / 0.6381 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007191/0.4524, allocations: 47.94 kB / 0.6381 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.4525, allocations: 52.44 kB / 0.6382 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-05/0.4526, allocations: 31.98 kB / 0.6382 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002095/0.4547, allocations: 1.629 MB / 0.6398 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4547, allocations: 0 / 0.6398 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002892/0.4576, allocations: 0.6014 MB / 0.6404 GB, free: 10.07 MB / 0.4981 GB 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.004086/0.4617, allocations: 3.706 MB / 0.644 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004451/0.4662, allocations: 3.224 MB / 0.6471 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4662, allocations: 0 / 0.6471 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009982/0.4672, allocations: 0.8647 MB / 0.648 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.4686, allocations: 219.6 kB / 0.6482 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03406/0.5026, allocations: 28.4 MB / 0.6759 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001865/0.5045, allocations: 2.163 MB / 0.678 GB, free: 15.69 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002676/0.5072, allocations: 1.391 MB / 0.6794 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/0.5084, allocations: 1.023 MB / 0.6804 GB, free: 13.27 MB / 0.545 GB Notification: Performance of SimCode: time 8.31e-07/0.5084, allocations: 0 / 0.6804 GB, free: 13.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06508/0.5735, allocations: 38.43 MB / 0.7179 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.01/18.58, allocations: 14.14 kB / 0.7179 GB, free: 7.039 MB / 0.5762 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches