Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001327/0.001327, allocations: 118.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001302/0.001302, allocations: 197.2 kB / 18.73 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2164/0.2164, allocations: 46.11 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 71.88 kB / 480.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3142, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008193/0.3224, allocations: 6.778 MB / 0.5372 GB, free: 8.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00473/0.3272, allocations: 2.425 MB / 0.5396 GB, free: 6.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00065/0.3278, allocations: 31.22 kB / 0.5396 GB, free: 6.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002155/0.33, allocations: 1.054 MB / 0.5406 GB, free: 5.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001882/0.3319, allocations: 0.8319 MB / 0.5414 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008098/0.3328, allocations: 310.3 kB / 0.5417 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002442/0.3352, allocations: 1.867 MB / 0.5436 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001576/0.3368, allocations: 1.249 MB / 0.5448 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.3379, allocations: 0.7189 MB / 0.5455 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001481/0.3394, allocations: 0.9614 MB / 0.5464 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003125/0.3397, allocations: 128 kB / 0.5465 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.3412, allocations: 0.7293 MB / 0.5473 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009094/0.3421, allocations: 0.9192 MB / 0.5482 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001146/0.3433, allocations: 1.125 MB / 0.5493 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004277/0.3476, allocations: 3.73 MB / 0.5529 GB, free: 10.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3476, allocations: 0 / 0.5529 GB, free: 10.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3476, allocations: 0 / 0.5529 GB, free: 10.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.105e-05/0.3476, allocations: 0 / 0.5529 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.004564/0.3522, allocations: 2.719 MB / 0.5556 GB, free: 8.027 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3523, allocations: 19.95 kB / 0.5556 GB, free: 8.008 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005165/0.3528, allocations: 454.4 kB / 0.556 GB, free: 7.555 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00529/0.3581, allocations: 1.582 MB / 0.5576 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001853/0.36, allocations: 1.073 MB / 0.5586 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.3601, allocations: 115.3 kB / 0.5587 GB, free: 4.742 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003211/0.3604, allocations: 171.8 kB / 0.5589 GB, free: 4.574 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008946/0.3694, allocations: 6.178 MB / 0.5649 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-05/0.3695, allocations: 27.75 kB / 0.5649 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002275/0.3697, allocations: 83.89 kB / 0.565 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002462/0.3722, allocations: 1.441 MB / 0.5664 GB, free: 12.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009356/0.3815, allocations: 5.385 MB / 0.5717 GB, free: 6.961 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02771/0.4093, allocations: 24.81 MB / 0.5959 GB, free: 13.35 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00465/0.414, allocations: 2.358 MB / 0.5982 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/0.4153, allocations: 0.9915 MB / 0.5992 GB, free: 9.84 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004174/0.4157, allocations: 339 kB / 0.5995 GB, free: 9.453 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.4158, allocations: 42.5 kB / 0.5995 GB, free: 9.402 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 2.996e-06/0.4158, allocations: 0 / 0.5995 GB, free: 9.402 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02206/0.4379, allocations: 8.565 MB / 0.6079 GB, free: 0.707 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.13e-05/0.438, allocations: 136.5 kB / 0.608 GB, free: 0.543 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00353/0.4415, allocations: 2.644 MB / 0.6106 GB, free: 13.88 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001159/0.4417, allocations: 41.89 kB / 0.6107 GB, free: 13.83 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001583/0.4432, allocations: 2.104 MB / 0.6127 GB, free: 11.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004582/0.4437, allocations: 464.5 kB / 0.6132 GB, free: 11.25 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001093/0.4448, allocations: 0.8772 MB / 0.614 GB, free: 10.36 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.445, allocations: 301.1 kB / 0.6143 GB, free: 10.06 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001963/0.4469, allocations: 1.332 MB / 0.6156 GB, free: 8.719 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004313/0.4513, allocations: 4.108 MB / 0.6196 GB, free: 3.207 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007178/0.4585, allocations: 5.929 MB / 0.6254 GB, free: 11.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.338e-05/0.4586, allocations: 28 kB / 0.6254 GB, free: 11.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.00951/0.4681, allocations: 5.501 MB / 0.6308 GB, free: 6.363 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.821e-05/0.4682, allocations: 48 kB / 0.6308 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001207/0.4683, allocations: 100.1 kB / 0.6309 GB, free: 6.219 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.4694, allocations: 460.5 kB / 0.6314 GB, free: 5.766 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002677/0.4721, allocations: 0.9708 MB / 0.6323 GB, free: 4.793 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004484/0.4766, allocations: 3.672 MB / 0.6359 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002502/0.4791, allocations: 223.7 kB / 0.6361 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004462/0.4796, allocations: 276.1 kB / 0.6364 GB, free: 0.4922 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.002021/0.4816, allocations: 1.368 MB / 0.6377 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004363/0.482, allocations: 242.4 kB / 0.638 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002495/0.4845, allocations: 1.318 MB / 0.6392 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.571e-05/0.4846, allocations: 19.89 kB / 0.6393 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.4846, allocations: 4.281 kB / 0.6393 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.4846, allocations: 7.984 kB / 0.6393 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007343/0.492, allocations: 4.19 MB / 0.6434 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.492, allocations: 3.938 kB / 0.6434 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006689/0.4927, allocations: 135.8 kB / 0.6435 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000884/0.4936, allocations: 320.5 kB / 0.6438 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.532e-05/0.4937, allocations: 12 kB / 0.6438 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003714/0.4974, allocations: 3.074 MB / 0.6468 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.4974, allocations: 8 kB / 0.6468 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004463/0.5019, allocations: 3.078 MB / 0.6498 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005674/0.5025, allocations: 291.4 kB / 0.6501 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002206/0.5027, allocations: 16.06 kB / 0.6501 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006948/0.5034, allocations: 47.94 kB / 0.6502 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.5036, allocations: 52.3 kB / 0.6502 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.262e-05/0.5037, allocations: 32 kB / 0.6503 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002401/0.5061, allocations: 1.628 MB / 0.6518 GB, free: 392 kB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5061, allocations: 0 / 0.6518 GB, free: 392 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002909/0.509, allocations: 0.5898 MB / 0.6524 GB, free: 15.79 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.004842/0.5139, allocations: 3.698 MB / 0.656 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005095/0.519, allocations: 3.225 MB / 0.6592 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.519, allocations: 0 / 0.6592 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.5202, allocations: 0.8677 MB / 0.66 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/0.5216, allocations: 212.9 kB / 0.6602 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03829/0.5599, allocations: 28.36 MB / 0.6879 GB, free: 7.648 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002298/0.5622, allocations: 2.178 MB / 0.6901 GB, free: 5.438 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002875/0.5651, allocations: 1.379 MB / 0.6914 GB, free: 4.051 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001373/0.5665, allocations: 1.026 MB / 0.6924 GB, free: 3.023 MB / 0.545 GB Notification: Performance of SimCode: time 8.22e-07/0.5665, allocations: 0 / 0.6924 GB, free: 3.023 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3111/0.8776, allocations: 38.36 MB / 0.7299 GB, free: 181.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.17/19.05, allocations: 5.453 kB / 0.7299 GB, free: 181.4 MB / 0.5762 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_1_0-beta_om_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1)