Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.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.Forces.FrameForces,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001361/0.001361, allocations: 117.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00148/0.00148, allocations: 207.8 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 247 MB, free: 10.42 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.2244/0.2244, allocations: 46.12 MB / 344.4 MB, free: 11.46 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.002518/0.002519, allocations: 79.86 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.356, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01599/0.372, allocations: 12.65 MB / 0.543 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01172/0.3838, allocations: 4.493 MB / 0.5474 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003172/0.387, allocations: 85.5 kB / 0.5474 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00774/0.3948, allocations: 3.704 MB / 0.5511 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007705/0.4026, allocations: 2.178 MB / 0.5532 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00287/0.4055, allocations: 1.002 MB / 0.5542 GB, free: 9.539 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01001/0.4155, allocations: 6.031 MB / 0.5601 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006567/0.4221, allocations: 4.562 MB / 0.5645 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003735/0.4259, allocations: 1.943 MB / 0.5664 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004252/0.4302, allocations: 2.601 MB / 0.5689 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001269/0.4315, allocations: 408 kB / 0.5693 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003308/0.4348, allocations: 1.447 MB / 0.5707 GB, free: 8.457 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002916/0.4377, allocations: 2.416 MB / 0.5731 GB, free: 6.035 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004105/0.4419, allocations: 2.761 MB / 0.5758 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01186/0.4537, allocations: 8.774 MB / 0.5844 GB, free: 10.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.4538, allocations: 0 / 0.5844 GB, free: 10.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.4538, allocations: 0 / 0.5844 GB, free: 10.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003124/0.4541, allocations: 0 / 0.5844 GB, free: 10.45 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.01609/0.4702, allocations: 6.347 MB / 0.5906 GB, free: 4.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.4703, allocations: 8.031 kB / 0.5906 GB, free: 4.012 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00195/0.4723, allocations: 0.8227 MB / 0.5914 GB, free: 3.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04026/0.5125, allocations: 6.055 MB / 0.5973 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009952/0.5225, allocations: 4.154 MB / 0.6014 GB, free: 8.902 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000282/0.5229, allocations: 283.3 kB / 0.6016 GB, free: 8.625 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001267/0.5242, allocations: 371.8 kB / 0.602 GB, free: 8.262 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02247/0.5466, allocations: 11.48 MB / 0.6132 GB, free: 11.93 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001842/0.5469, allocations: 59.47 kB / 0.6132 GB, free: 11.87 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006854/0.5476, allocations: 175.8 kB / 0.6134 GB, free: 11.7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003887/0.5515, allocations: 2.147 MB / 0.6155 GB, free: 9.551 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02073/0.5722, allocations: 9.348 MB / 0.6246 GB, free: 192 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06271/0.635, allocations: 45.27 MB / 0.6688 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01045/0.6455, allocations: 3.8 MB / 0.6726 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003163/0.6487, allocations: 2.04 MB / 0.6745 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01136/0.6601, allocations: 6.244 MB / 0.6806 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.6602, allocations: 47.56 kB / 0.6807 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 6.452e-06/0.6602, allocations: 0 / 0.6807 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.04173/0.7019, allocations: 15.01 MB / 0.6953 GB, free: 6.145 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.7021, allocations: 196.9 kB / 0.6955 GB, free: 5.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009732/0.7118, allocations: 5.624 MB / 0.701 GB, free: 316 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003795/0.7123, allocations: 45.7 kB / 0.7011 GB, free: 264 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00361/0.7159, allocations: 3.881 MB / 0.7049 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001066/0.717, allocations: 0.694 MB / 0.7055 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002333/0.7193, allocations: 1.361 MB / 0.7069 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.7195, allocations: 301.1 kB / 0.7072 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003317/0.7228, allocations: 2.094 MB / 0.7092 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2895/1.012, allocations: 6.343 MB / 0.7154 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01014/1.022, allocations: 9.182 MB / 0.7244 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001632/1.023, allocations: 47.59 kB / 0.7244 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01508/1.038, allocations: 8.66 MB / 0.7329 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000113/1.038, allocations: 72.25 kB / 0.7329 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000212/1.038, allocations: 150.2 kB / 0.7331 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/1.04, allocations: 0.7065 MB / 0.7338 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004367/1.044, allocations: 1.505 MB / 0.7352 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006223/1.051, allocations: 6.829 MB / 0.7419 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005132/1.056, allocations: 350.5 kB / 0.7422 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001017/1.057, allocations: 415.9 kB / 0.7426 GB, free: 142.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (804): * Single equations (assignments): 797 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003771/1.061, allocations: 2.464 MB / 0.745 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008984/1.062, allocations: 482.2 kB / 0.7455 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004114/1.066, allocations: 2.695 MB / 0.7481 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.213e-05/1.066, allocations: 16 kB / 0.7481 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/1.066, allocations: 8 kB / 0.7482 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/1.066, allocations: 6.656 kB / 0.7482 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/1.077, allocations: 7.434 MB / 0.7554 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/1.077, allocations: 0 / 0.7554 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/1.078, allocations: 299.5 kB / 0.7557 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001189/1.079, allocations: 498.6 kB / 0.7562 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/1.079, allocations: 35.83 kB / 0.7562 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004979/1.084, allocations: 6.201 MB / 0.7623 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.084, allocations: 7.938 kB / 0.7623 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005613/1.09, allocations: 4.985 MB / 0.7671 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/1.091, allocations: 0.542 MB / 0.7677 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006487/1.092, allocations: 27.98 kB / 0.7677 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/1.093, allocations: 79.92 kB / 0.7678 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002373/1.094, allocations: 96.8 kB / 0.7679 GB, free: 119 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/1.094, allocations: 44 kB / 0.7679 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004797/1.099, allocations: 3.597 MB / 0.7714 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.12e-07/1.099, allocations: 3.938 kB / 0.7714 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005825/1.104, allocations: 1.098 MB / 0.7725 GB, free: 114.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (126): * Single equations (assignments): 121 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006082/1.111, allocations: 5.637 MB / 0.778 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006891/1.118, allocations: 5.175 MB / 0.7831 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/1.118, allocations: 0 / 0.7831 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001613/1.119, allocations: 1.491 MB / 0.7845 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003923/1.123, allocations: 0.6416 MB / 0.7851 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06368/1.187, allocations: 54.03 MB / 0.8379 GB, free: 40.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004115/1.191, allocations: 3.761 MB / 0.8416 GB, free: 36.73 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004371/1.195, allocations: 2.133 MB / 0.8437 GB, free: 34.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002996/1.198, allocations: 2.315 MB / 0.8459 GB, free: 32.27 MB / 0.5606 GB Notification: Performance of SimCode: time 9.01e-07/1.198, allocations: 0 / 0.8459 GB, free: 32.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1497/1.348, allocations: 84.89 MB / 0.9288 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.56/31.91, allocations: 7.703 kB / 0.9288 GB, free: 11.82 MB / 0.6231 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces_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_Forces_FrameForces.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1)