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.001693/0.001693, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002182/0.002182, allocations: 212.6 kB / 24.54 MB, free: 4.016 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.488/1.488, allocations: 230.5 MB / 258.2 MB, free: 8.031 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.2401/0.2401, allocations: 46.93 MB / 361.6 MB, free: 4.191 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.002378/0.002378, allocations: 79.86 kB / 0.497 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3184, allocations: 66.08 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.0154/0.3338, allocations: 12.73 MB / 0.5739 GB, free: 7.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009939/0.3438, allocations: 4.551 MB / 0.5784 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002156/0.3459, allocations: 99.5 kB / 0.5785 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007531/0.3535, allocations: 3.765 MB / 0.5822 GB, free: 15.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006386/0.3599, allocations: 2.241 MB / 0.5844 GB, free: 12.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002605/0.3625, allocations: 1.006 MB / 0.5853 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009819/0.3723, allocations: 6.054 MB / 0.5912 GB, free: 5.758 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005447/0.3777, allocations: 3.502 MB / 0.5947 GB, free: 2.184 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004178/0.3819, allocations: 1.986 MB / 0.5966 GB, free: 196 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005011/0.3869, allocations: 2.823 MB / 0.5994 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001386/0.3883, allocations: 408 kB / 0.5998 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003408/0.3917, allocations: 1.482 MB / 0.6012 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003542/0.3953, allocations: 2.501 MB / 0.6036 GB, free: 8.969 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004388/0.3996, allocations: 2.761 MB / 0.6063 GB, free: 6.191 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01302/0.4127, allocations: 8.778 MB / 0.6149 GB, free: 13.38 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.4127, allocations: 0 / 0.6149 GB, free: 13.38 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4127, allocations: 0 / 0.6149 GB, free: 13.38 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003484/0.413, allocations: 7.938 kB / 0.6149 GB, free: 13.37 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.01696/0.43, allocations: 6.26 MB / 0.621 GB, free: 7.043 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.43, allocations: 8.031 kB / 0.621 GB, free: 7.035 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001954/0.432, allocations: 0.8227 MB / 0.6218 GB, free: 6.203 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03421/0.4662, allocations: 6.051 MB / 0.6278 GB, free: 144 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01096/0.4772, allocations: 4.075 MB / 0.6317 GB, free: 12 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003175/0.4775, allocations: 283.3 kB / 0.632 GB, free: 11.72 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001472/0.479, allocations: 371.8 kB / 0.6324 GB, free: 11.36 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02304/0.502, allocations: 11.47 MB / 0.6436 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000206/0.5022, allocations: 67.5 kB / 0.6436 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006538/0.5029, allocations: 175.8 kB / 0.6438 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003837/0.5067, allocations: 2.15 MB / 0.6459 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02084/0.5275, allocations: 9.362 MB / 0.655 GB, free: 3.258 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0604/0.5879, allocations: 45.09 MB / 0.6991 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009995/0.5979, allocations: 3.223 MB / 0.7022 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002921/0.6008, allocations: 1.88 MB / 0.704 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01148/0.6123, allocations: 6.012 MB / 0.7099 GB, free: 9.695 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.936e-05/0.6124, allocations: 47.56 kB / 0.71 GB, free: 9.641 MB / 0.545 GB Notification: Performance of pre-optimization done (n=154): time 3.707e-06/0.6124, allocations: 0 / 0.71 GB, free: 9.641 MB / 0.545 GB Notification: Performance of matching and sorting (n=166): time 0.04125/0.6536, allocations: 14.75 MB / 0.7244 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/0.6538, allocations: 192.9 kB / 0.7246 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008708/0.6625, allocations: 5.639 MB / 0.7301 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003635/0.6628, allocations: 45.7 kB / 0.7301 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003434/0.6663, allocations: 3.881 MB / 0.7339 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009595/0.6672, allocations: 0.6902 MB / 0.7346 GB, free: 328 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2629/0.9302, allocations: 1.347 MB / 0.7359 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.005e-05/0.9302, allocations: 302.4 kB / 0.7362 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003687/0.9339, allocations: 2.098 MB / 0.7382 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004559/0.9385, allocations: 6.344 MB / 0.7444 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00738/0.9459, allocations: 9.194 MB / 0.7534 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.286e-05/0.946, allocations: 45.16 kB / 0.7534 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01156/0.9575, allocations: 8.652 MB / 0.7619 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.212e-05/0.9576, allocations: 72 kB / 0.762 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001158/0.9577, allocations: 148 kB / 0.7621 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001426/0.9591, allocations: 0.7071 MB / 0.7628 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003775/0.9629, allocations: 1.521 MB / 0.7643 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005676/0.9686, allocations: 6.614 MB / 0.7707 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004543/0.9731, allocations: 343.3 kB / 0.7711 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007577/0.9739, allocations: 416 kB / 0.7715 GB, free: 126.7 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.003309/0.9772, allocations: 2.454 MB / 0.7738 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007298/0.9779, allocations: 483.9 kB / 0.7743 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003866/0.9818, allocations: 2.69 MB / 0.7769 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.521e-05/0.9818, allocations: 20 kB / 0.777 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.9818, allocations: 6.562 kB / 0.777 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.9818, allocations: 8.297 kB / 0.777 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/0.9928, allocations: 7.397 MB / 0.7842 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/0.9928, allocations: 13.45 kB / 0.7842 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/0.9941, allocations: 295.8 kB / 0.7845 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001193/0.9953, allocations: 490.5 kB / 0.785 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001339/0.9955, allocations: 35.98 kB / 0.785 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005653/1.001, allocations: 5.992 MB / 0.7908 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.001, allocations: 4 kB / 0.7908 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009068/1.01, allocations: 4.982 MB / 0.7957 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001774/1.012, allocations: 475.6 kB / 0.7962 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001271/1.013, allocations: 28 kB / 0.7962 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002752/1.016, allocations: 75.84 kB / 0.7963 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004379/1.016, allocations: 100.8 kB / 0.7964 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000166/1.017, allocations: 55.58 kB / 0.7964 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.007476/1.024, allocations: 3.597 MB / 0.7999 GB, free: 97.92 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.31e-07/1.024, allocations: 4 kB / 0.7999 GB, free: 97.92 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008573/1.033, allocations: 1.093 MB / 0.801 GB, free: 96.83 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.00882/1.041, allocations: 5.625 MB / 0.8065 GB, free: 91.15 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009821/1.051, allocations: 4.996 MB / 0.8114 GB, free: 86.17 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/1.051, allocations: 0.5625 kB / 0.8114 GB, free: 86.17 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002975/1.054, allocations: 1.409 MB / 0.8127 GB, free: 84.74 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006109/1.06, allocations: 0.6205 MB / 0.8134 GB, free: 84.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1024/1.163, allocations: 54.11 MB / 0.8662 GB, free: 23.31 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006138/1.169, allocations: 3.765 MB / 0.8699 GB, free: 19.51 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.007171/1.176, allocations: 2.129 MB / 0.8719 GB, free: 17.38 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004432/1.18, allocations: 2.315 MB / 0.8742 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of SimCode: time 1.312e-06/1.181, allocations: 0 / 0.8742 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2008/1.381, allocations: 90.76 MB / 0.9628 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.35/32.73, allocations: 0 / 0.9628 GB, free: 4.695 MB / 0.6387 GB " [Timeout remaining time 627] (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: 35.8302889065817] Failed to read output from testmodel.py, exit status != 0: ['time', 'Revolute1.phi', 'Revolute1.w', 'Revolute2.phi', 'Revolute2.w'] 32.876630345825106 32.904271387 32.48627269 Calling exit ...