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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001654/0.001654, allocations: 108.7 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002012/0.002012, allocations: 214.6 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 230.2 MB / 256.2 MB, free: 8.711 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2289/0.2289, allocations: 46.88 MB / 359.4 MB, free: 4.945 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.0023/0.0023, allocations: 83.86 kB / 0.4941 GB, free: 9.023 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3198, allocations: 65.98 MB / 0.5586 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01493/0.3347, allocations: 12.74 MB / 0.571 GB, free: 8.367 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00985/0.3446, allocations: 4.544 MB / 0.5755 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002032/0.3466, allocations: 83.75 kB / 0.5755 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007412/0.354, allocations: 3.769 MB / 0.5792 GB, free: 15.94 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005698/0.3597, allocations: 2.23 MB / 0.5814 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00235/0.3621, allocations: 0.9982 MB / 0.5824 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009059/0.3711, allocations: 6.042 MB / 0.5883 GB, free: 6.652 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004756/0.3759, allocations: 3.245 MB / 0.5914 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003644/0.3795, allocations: 1.963 MB / 0.5934 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004521/0.3841, allocations: 2.819 MB / 0.5961 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001262/0.3853, allocations: 404 kB / 0.5965 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00322/0.3885, allocations: 1.486 MB / 0.5979 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003123/0.3917, allocations: 2.497 MB / 0.6004 GB, free: 10.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004106/0.3958, allocations: 2.761 MB / 0.6031 GB, free: 7.375 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01127/0.407, allocations: 8.774 MB / 0.6116 GB, free: 14.56 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.116e-06/0.4071, allocations: 0 / 0.6116 GB, free: 14.56 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4071, allocations: 7.938 kB / 0.6117 GB, free: 14.55 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002605/0.4073, allocations: 0 / 0.6117 GB, free: 14.55 MB / 462.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.01508/0.4224, allocations: 6.339 MB / 0.6178 GB, free: 8.133 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.4224, allocations: 8.031 kB / 0.6179 GB, free: 8.125 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001453/0.4239, allocations: 0.8227 MB / 0.6187 GB, free: 7.293 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03873/0.4626, allocations: 6.059 MB / 0.6246 GB, free: 1.223 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009852/0.4725, allocations: 4.151 MB / 0.6286 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000272/0.4727, allocations: 279.3 kB / 0.6289 GB, free: 12.74 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001214/0.474, allocations: 375.8 kB / 0.6292 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02282/0.4968, allocations: 11.47 MB / 0.6404 GB, free: 52 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002056/0.497, allocations: 59.58 kB / 0.6405 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007065/0.4977, allocations: 175.8 kB / 0.6407 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003882/0.5016, allocations: 2.15 MB / 0.6428 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02073/0.5223, allocations: 9.356 MB / 0.6519 GB, free: 4.297 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06094/0.5832, allocations: 45.28 MB / 0.6961 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01052/0.5938, allocations: 3.679 MB / 0.6997 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003077/0.5968, allocations: 1.883 MB / 0.7016 GB, free: 36 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01211/0.6089, allocations: 6.243 MB / 0.7077 GB, free: 9.695 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.358e-05/0.609, allocations: 55.5 kB / 0.7077 GB, free: 9.633 MB / 0.545 GB Notification: Performance of pre-optimization done (n=154): time 4.418e-06/0.609, allocations: 0 / 0.7077 GB, free: 9.633 MB / 0.545 GB Notification: Performance of matching and sorting (n=166): time 0.04194/0.6509, allocations: 14.97 MB / 0.7223 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.6511, allocations: 204.9 kB / 0.7225 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008652/0.6597, allocations: 5.624 MB / 0.728 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003573/0.6601, allocations: 53.69 kB / 0.7281 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003522/0.6636, allocations: 3.877 MB / 0.7318 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001046/0.6647, allocations: 0.6979 MB / 0.7325 GB, free: 40 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2424/0.9071, allocations: 1.345 MB / 0.7338 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.189e-05/0.9071, allocations: 302.2 kB / 0.7341 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003663/0.9108, allocations: 2.101 MB / 0.7362 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004691/0.9155, allocations: 6.344 MB / 0.7424 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007534/0.923, allocations: 9.19 MB / 0.7514 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001361/0.9232, allocations: 45.56 kB / 0.7514 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01347/0.9366, allocations: 8.646 MB / 0.7598 GB, free: 136 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.163e-05/0.9367, allocations: 68 kB / 0.7599 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001693/0.9369, allocations: 152.1 kB / 0.76 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00153/0.9384, allocations: 0.7024 MB / 0.7607 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004182/0.9426, allocations: 1.524 MB / 0.7622 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005881/0.9485, allocations: 6.832 MB / 0.7689 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00514/0.9536, allocations: 342.6 kB / 0.7692 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008983/0.9545, allocations: 414.8 kB / 0.7696 GB, free: 126.8 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.003524/0.9581, allocations: 2.455 MB / 0.772 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007376/0.9588, allocations: 487.9 kB / 0.7725 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004087/0.9629, allocations: 2.68 MB / 0.7751 GB, free: 122 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.849e-05/0.9629, allocations: 20 kB / 0.7751 GB, free: 121.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.9629, allocations: 4 kB / 0.7751 GB, free: 121.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.9629, allocations: 15.91 kB / 0.7751 GB, free: 121.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0113/0.9742, allocations: 7.422 MB / 0.7824 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/0.9743, allocations: 8.031 kB / 0.7824 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/0.9756, allocations: 299.5 kB / 0.7827 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001242/0.9768, allocations: 492.1 kB / 0.7831 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001549/0.977, allocations: 28 kB / 0.7832 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005136/0.9821, allocations: 6.205 MB / 0.7892 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.9821, allocations: 4.562 kB / 0.7892 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005687/0.9878, allocations: 4.978 MB / 0.7941 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/0.9889, allocations: 0.5397 MB / 0.7946 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005146/0.9895, allocations: 31.98 kB / 0.7947 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/0.9909, allocations: 75.86 kB / 0.7947 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002258/0.9911, allocations: 104.6 kB / 0.7948 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.692e-05/0.9912, allocations: 47.94 kB / 0.7949 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004582/0.9958, allocations: 3.601 MB / 0.7984 GB, free: 97.86 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9958, allocations: 0 / 0.7984 GB, free: 97.86 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005458/1.001, allocations: 1.091 MB / 0.7995 GB, free: 96.77 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.005805/1.007, allocations: 5.628 MB / 0.805 GB, free: 91.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006469/1.014, allocations: 4.986 MB / 0.8098 GB, free: 86.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.014, allocations: 4 kB / 0.8098 GB, free: 86.11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001547/1.015, allocations: 1.404 MB / 0.8112 GB, free: 84.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003416/1.018, allocations: 0.6342 MB / 0.8118 GB, free: 84.06 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06618/1.085, allocations: 54.12 MB / 0.8647 GB, free: 23.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004059/1.089, allocations: 3.761 MB / 0.8683 GB, free: 19.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004283/1.093, allocations: 2.129 MB / 0.8704 GB, free: 17.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002795/1.096, allocations: 2.311 MB / 0.8727 GB, free: 15 MB / 0.5606 GB Notification: Performance of SimCode: time 1.162e-06/1.096, allocations: 0 / 0.8727 GB, free: 15 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1596/1.255, allocations: 85.9 MB / 0.9566 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.83/31.08, allocations: 0 / 0.9566 GB, free: 9.5 MB / 0.6387 GB " [Timeout remaining time 629] (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.000219912 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 33.85969944501994] Failed to read output from testmodel.py, exit status != 0: ['time', 'Revolute1.phi', 'Revolute1.w', 'Revolute2.phi', 'Revolute2.w'] 31.22518523701001 31.240275699 30.829786417 Calling exit ...