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.001345/0.001345, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.001459/0.001459, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.502/1.502, allocations: 230.4 MB / 254.7 MB, free: 15.14 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.2434/0.2434, allocations: 46.93 MB / 357.7 MB, free: 10.21 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.002323/0.002323, allocations: 79.86 kB / 0.4917 GB, free: 7.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1175, allocations: 66.03 MB / 0.5562 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01556/0.1331, allocations: 12.71 MB / 0.5686 GB, free: 8.785 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009957/0.143, allocations: 4.524 MB / 0.573 GB, free: 4.242 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.1449, allocations: 99.5 kB / 0.5731 GB, free: 4.145 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00737/0.1523, allocations: 3.754 MB / 0.5768 GB, free: 388 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006326/0.1586, allocations: 2.226 MB / 0.5789 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.1612, allocations: 1.002 MB / 0.5799 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009567/0.1708, allocations: 6.039 MB / 0.5858 GB, free: 7.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005479/0.1763, allocations: 3.8 MB / 0.5895 GB, free: 3.219 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003316/0.1796, allocations: 1.982 MB / 0.5915 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2564/0.436, allocations: 2.812 MB / 0.5942 GB, free: 9.992 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001717/0.4378, allocations: 409.2 kB / 0.5946 GB, free: 9.992 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003414/0.4412, allocations: 1.48 MB / 0.596 GB, free: 9.992 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003459/0.4446, allocations: 2.507 MB / 0.5985 GB, free: 9.992 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004441/0.4491, allocations: 2.762 MB / 0.6012 GB, free: 9.109 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0136/0.4627, allocations: 8.782 MB / 0.6098 GB, free: 7.777 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4627, allocations: 0 / 0.6098 GB, free: 7.777 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4627, allocations: 1.094 kB / 0.6098 GB, free: 7.777 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003684/0.463, allocations: 0 / 0.6098 GB, free: 7.777 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.02166/0.4847, allocations: 6.335 MB / 0.6159 GB, free: 4.934 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.4848, allocations: 9 kB / 0.616 GB, free: 4.934 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002947/0.4877, allocations: 0.8231 MB / 0.6168 GB, free: 4.562 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03884/0.5265, allocations: 6.058 MB / 0.6227 GB, free: 2.484 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009109/0.5356, allocations: 4.152 MB / 0.6267 GB, free: 156 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/0.5358, allocations: 280.5 kB / 0.627 GB, free: 64 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001457/0.5373, allocations: 374 kB / 0.6274 GB, free: 15.97 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02328/0.5606, allocations: 11.47 MB / 0.6386 GB, free: 8.984 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00018/0.5607, allocations: 66.3 kB / 0.6386 GB, free: 8.969 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006622/0.5614, allocations: 176.4 kB / 0.6388 GB, free: 8.887 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003867/0.5653, allocations: 2.142 MB / 0.6409 GB, free: 6.918 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02082/0.5861, allocations: 9.368 MB / 0.65 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06742/0.6535, allocations: 45.27 MB / 0.6942 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01111/0.6646, allocations: 3.668 MB / 0.6978 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003147/0.6678, allocations: 1.884 MB / 0.6997 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01277/0.6805, allocations: 6.243 MB / 0.7058 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/0.6806, allocations: 47.56 kB / 0.7058 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=154): time 5.76e-06/0.6806, allocations: 3.938 kB / 0.7058 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of matching and sorting (n=166): time 0.04705/0.7276, allocations: 14.98 MB / 0.7204 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.7278, allocations: 203.9 kB / 0.7206 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01147/0.7393, allocations: 5.631 MB / 0.7261 GB, free: 14.94 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004199/0.7397, allocations: 52.2 kB / 0.7262 GB, free: 14.88 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004001/0.7437, allocations: 3.867 MB / 0.7299 GB, free: 11.03 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001131/0.7448, allocations: 0.7001 MB / 0.7306 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002753/0.7476, allocations: 1.353 MB / 0.732 GB, free: 8.984 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.7477, allocations: 301.1 kB / 0.7322 GB, free: 8.688 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003811/0.7515, allocations: 2.098 MB / 0.7343 GB, free: 6.586 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008215/0.7597, allocations: 6.344 MB / 0.7405 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01249/0.7722, allocations: 9.195 MB / 0.7495 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001503/0.7724, allocations: 47.94 kB / 0.7495 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.02051/0.7929, allocations: 8.64 MB / 0.7579 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.793, allocations: 78.22 kB / 0.758 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001931/0.7932, allocations: 148 kB / 0.7582 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002007/0.7952, allocations: 0.7067 MB / 0.7589 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005283/0.8005, allocations: 1.517 MB / 0.7603 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008791/0.8093, allocations: 6.826 MB / 0.767 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005612/0.8149, allocations: 351.6 kB / 0.7673 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001302/0.8162, allocations: 416 kB / 0.7677 GB, free: 0.5664 MB / 0.5762 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.005452/0.8216, allocations: 2.453 MB / 0.7701 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/0.8227, allocations: 488.7 kB / 0.7706 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005666/0.8284, allocations: 2.682 MB / 0.7732 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.323e-05/0.8284, allocations: 20 kB / 0.7732 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.8284, allocations: 8 kB / 0.7732 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/0.8285, allocations: 3.984 kB / 0.7732 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01648/0.8449, allocations: 7.436 MB / 0.7805 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/0.8449, allocations: 4 kB / 0.7805 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001564/0.8465, allocations: 295.5 kB / 0.7808 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001582/0.8481, allocations: 489.4 kB / 0.7813 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00026/0.8484, allocations: 31.98 kB / 0.7813 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008106/0.8565, allocations: 6.215 MB / 0.7874 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.8565, allocations: 4 kB / 0.7874 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008177/0.8646, allocations: 4.983 MB / 0.7922 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001645/0.8663, allocations: 0.5368 MB / 0.7928 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009096/0.8672, allocations: 28 kB / 0.7928 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001998/0.8692, allocations: 75.91 kB / 0.7929 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004734/0.8697, allocations: 100.8 kB / 0.7929 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001764/0.8698, allocations: 44 kB / 0.793 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.008095/0.8779, allocations: 3.597 MB / 0.7965 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8779, allocations: 4 kB / 0.7965 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.007278/0.8852, allocations: 1.097 MB / 0.7976 GB, free: 1.586 MB / 0.6075 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.00916/0.8944, allocations: 5.621 MB / 0.8031 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.009867/0.9042, allocations: 5 MB / 0.8079 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.9043, allocations: 3.938 kB / 0.808 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002302/0.9066, allocations: 1.406 MB / 0.8093 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004264/0.9108, allocations: 0.6311 MB / 0.8099 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3587/1.269, allocations: 54 MB / 0.8627 GB, free: 223.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006211/1.276, allocations: 3.759 MB / 0.8663 GB, free: 222.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004977/1.281, allocations: 2.134 MB / 0.8684 GB, free: 222.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003341/1.284, allocations: 2.311 MB / 0.8707 GB, free: 220.4 MB / 0.6544 GB Notification: Performance of SimCode: time 1.492e-06/1.284, allocations: 0 / 0.8707 GB, free: 220.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1318/1.416, allocations: 85.51 MB / 0.9542 GB, free: 145.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.98/30.39, allocations: 3.938 kB / 0.9542 GB, free: 145.4 MB / 0.6544 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.52492637326941] Failed to read output from testmodel.py, exit status != 0: ['time', 'Revolute1.phi', 'Revolute1.w', 'Revolute2.phi', 'Revolute2.w'] 30.52900118334219 30.538839897 30.073699597 Calling exit ...