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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001096/0.001096, allocations: 118.1 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001136/0.001136, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2075/0.2075, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 71.88 kB / 480.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2943, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.007409/0.3018, allocations: 6.778 MB / 0.5371 GB, free: 8.102 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004697/0.3065, allocations: 2.431 MB / 0.5395 GB, free: 6.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.3076, allocations: 31.19 kB / 0.5395 GB, free: 6.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002155/0.3098, allocations: 1.062 MB / 0.5406 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.3121, allocations: 0.8513 MB / 0.5414 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008524/0.3129, allocations: 305.7 kB / 0.5417 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002619/0.3156, allocations: 1.864 MB / 0.5435 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00154/0.3171, allocations: 1.256 MB / 0.5447 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.3183, allocations: 0.7114 MB / 0.5454 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/0.3196, allocations: 0.9614 MB / 0.5464 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002612/0.3199, allocations: 132 kB / 0.5465 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.3211, allocations: 0.7371 MB / 0.5472 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007483/0.3219, allocations: 0.9232 MB / 0.5481 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009745/0.3229, allocations: 1.125 MB / 0.5492 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00386/0.3267, allocations: 3.726 MB / 0.5528 GB, free: 10.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.3268, allocations: 0 / 0.5528 GB, free: 10.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3268, allocations: 0 / 0.5528 GB, free: 10.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.234e-05/0.3269, allocations: 0 / 0.5528 GB, free: 10.81 MB / 414.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.005097/0.332, allocations: 2.73 MB / 0.5555 GB, free: 8.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.332, allocations: 12.03 kB / 0.5555 GB, free: 8.008 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004596/0.3325, allocations: 454.4 kB / 0.556 GB, free: 7.555 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005204/0.3377, allocations: 1.582 MB / 0.5575 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002157/0.3399, allocations: 1.077 MB / 0.5586 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.19e-05/0.34, allocations: 115.3 kB / 0.5587 GB, free: 4.738 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003427/0.3403, allocations: 163.8 kB / 0.5588 GB, free: 4.578 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00831/0.3487, allocations: 6.182 MB / 0.5649 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.348e-05/0.3488, allocations: 27.75 kB / 0.5649 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002156/0.349, allocations: 83.88 kB / 0.565 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002253/0.3513, allocations: 1.441 MB / 0.5664 GB, free: 12.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008654/0.3599, allocations: 5.393 MB / 0.5716 GB, free: 6.957 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.025/0.385, allocations: 24.81 MB / 0.5959 GB, free: 13.35 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004434/0.3894, allocations: 2.343 MB / 0.5981 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/0.3906, allocations: 1 MB / 0.5991 GB, free: 9.844 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003466/0.3909, allocations: 335 kB / 0.5994 GB, free: 9.461 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.391, allocations: 42.56 kB / 0.5995 GB, free: 9.41 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.877e-06/0.391, allocations: 0 / 0.5995 GB, free: 9.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02141/0.4124, allocations: 8.565 MB / 0.6078 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.4125, allocations: 140.5 kB / 0.608 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003127/0.4156, allocations: 2.644 MB / 0.6106 GB, free: 13.88 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001174/0.4158, allocations: 45.69 kB / 0.6106 GB, free: 13.83 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001232/0.417, allocations: 2.1 MB / 0.6127 GB, free: 11.71 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004184/0.4174, allocations: 456.6 kB / 0.6131 GB, free: 11.26 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009696/0.4184, allocations: 0.8734 MB / 0.6139 GB, free: 10.37 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.748e-05/0.4185, allocations: 301.1 kB / 0.6142 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001828/0.4204, allocations: 1.336 MB / 0.6155 GB, free: 8.73 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003449/0.4238, allocations: 4.108 MB / 0.6196 GB, free: 3.219 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006181/0.43, allocations: 5.929 MB / 0.6253 GB, free: 11.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.657e-05/0.4301, allocations: 28 kB / 0.6254 GB, free: 11.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009322/0.4395, allocations: 5.503 MB / 0.6307 GB, free: 6.375 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.261e-05/0.4396, allocations: 50.66 kB / 0.6308 GB, free: 6.328 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001365/0.4397, allocations: 96 kB / 0.6309 GB, free: 6.234 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.4409, allocations: 461.6 kB / 0.6313 GB, free: 5.781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002886/0.4438, allocations: 0.9824 MB / 0.6323 GB, free: 4.797 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004068/0.4479, allocations: 3.669 MB / 0.6359 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002858/0.4507, allocations: 231.6 kB / 0.6361 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004966/0.4513, allocations: 280 kB / 0.6364 GB, free: 500 kB / 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.001992/0.4533, allocations: 1.36 MB / 0.6377 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003995/0.4537, allocations: 234.4 kB / 0.6379 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/0.4559, allocations: 1.322 MB / 0.6392 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-05/0.456, allocations: 12 kB / 0.6392 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/0.456, allocations: 7.938 kB / 0.6392 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.456, allocations: 3.984 kB / 0.6392 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006955/0.463, allocations: 4.198 MB / 0.6433 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.463, allocations: 4 kB / 0.6433 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006168/0.4636, allocations: 135.8 kB / 0.6435 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008225/0.4645, allocations: 328.5 kB / 0.6438 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.775e-05/0.4645, allocations: 12 kB / 0.6438 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003071/0.4676, allocations: 3.066 MB / 0.6468 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.4676, allocations: 0 / 0.6468 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003814/0.4715, allocations: 3.083 MB / 0.6498 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000507/0.472, allocations: 291.4 kB / 0.6501 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/0.4722, allocations: 16.06 kB / 0.6501 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007475/0.473, allocations: 47.94 kB / 0.6501 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.4731, allocations: 48.56 kB / 0.6502 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.008e-05/0.4732, allocations: 31.98 kB / 0.6502 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002134/0.4753, allocations: 1.628 MB / 0.6518 GB, free: 404 kB / 0.4981 GB Notification: Performance of sort global known variables: time 2.91e-07/0.4753, allocations: 3.938 kB / 0.6518 GB, free: 400 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002893/0.4782, allocations: 0.5859 MB / 0.6524 GB, free: 15.8 MB / 0.5137 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.00423/0.4825, allocations: 3.701 MB / 0.656 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004528/0.487, allocations: 3.224 MB / 0.6591 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.4871, allocations: 4 kB / 0.6591 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.4881, allocations: 0.8681 MB / 0.66 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.4895, allocations: 216.4 kB / 0.6602 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03525/0.5248, allocations: 28.37 MB / 0.6879 GB, free: 7.648 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001969/0.5268, allocations: 2.171 MB / 0.69 GB, free: 5.445 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002654/0.5295, allocations: 1.387 MB / 0.6914 GB, free: 4.051 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001269/0.5307, allocations: 1.023 MB / 0.6924 GB, free: 3.027 MB / 0.545 GB Notification: Performance of SimCode: time 9.92e-07/0.5308, allocations: 0 / 0.6924 GB, free: 3.027 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3027/0.8335, allocations: 38.34 MB / 0.7298 GB, free: 181.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.29/19.13, allocations: 14.89 kB / 0.7298 GB, free: 181.5 MB / 0.5762 GB (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches