Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.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.001822/0.001822, allocations: 105.1 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.001493/0.001493, allocations: 213.9 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.429/1.429, allocations: 230.5 MB / 258.2 MB, free: 8.047 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.225/0.225, allocations: 46.92 MB / 361.6 MB, free: 4.211 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.FrameTorques,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameTorques",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.002391/0.002391, allocations: 79.88 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3352, allocations: 66.09 MB / 0.5615 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01643/0.3516, allocations: 12.75 MB / 0.574 GB, free: 7.496 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01054/0.3622, allocations: 4.559 MB / 0.5784 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003093/0.3653, allocations: 103.5 kB / 0.5785 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007975/0.3732, allocations: 3.769 MB / 0.5822 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006509/0.3798, allocations: 2.245 MB / 0.5844 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002821/0.3826, allocations: 1.002 MB / 0.5854 GB, free: 11.78 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009559/0.3921, allocations: 6.062 MB / 0.5913 GB, free: 5.707 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005158/0.3973, allocations: 3.51 MB / 0.5947 GB, free: 2.125 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00368/0.401, allocations: 1.994 MB / 0.5967 GB, free: 128 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004805/0.4058, allocations: 2.823 MB / 0.5994 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001276/0.4071, allocations: 408 kB / 0.5998 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003302/0.4104, allocations: 1.486 MB / 0.6013 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003119/0.4135, allocations: 2.505 MB / 0.6037 GB, free: 8.895 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003963/0.4174, allocations: 2.769 MB / 0.6064 GB, free: 6.109 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01149/0.4289, allocations: 8.794 MB / 0.615 GB, free: 13.28 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.4289, allocations: 4 kB / 0.615 GB, free: 13.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4289, allocations: 0 / 0.615 GB, free: 13.27 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002619/0.4292, allocations: 0 / 0.615 GB, free: 13.27 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01495/0.4441, allocations: 6.279 MB / 0.6211 GB, free: 6.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.4442, allocations: 8.031 kB / 0.6212 GB, free: 6.922 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001708/0.4459, allocations: 0.8267 MB / 0.622 GB, free: 6.086 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03498/0.4809, allocations: 6.055 MB / 0.6279 GB, free: 20 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/0.491, allocations: 4.071 MB / 0.6318 GB, free: 11.88 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002856/0.4913, allocations: 287.2 kB / 0.6321 GB, free: 11.6 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001267/0.4925, allocations: 379.8 kB / 0.6325 GB, free: 11.23 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0227/0.5152, allocations: 11.48 MB / 0.6437 GB, free: 14.9 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002168/0.5155, allocations: 51.58 kB / 0.6437 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008129/0.5163, allocations: 187.8 kB / 0.6439 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003929/0.5202, allocations: 2.154 MB / 0.646 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0206/0.5408, allocations: 9.371 MB / 0.6552 GB, free: 3.121 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06219/0.603, allocations: 45.17 MB / 0.6993 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/0.6131, allocations: 3.22 MB / 0.7024 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002931/0.6161, allocations: 1.865 MB / 0.7043 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01092/0.627, allocations: 5.403 MB / 0.7095 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.597e-05/0.6271, allocations: 55.98 kB / 0.7096 GB, free: 10.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=150): time 6.552e-06/0.6271, allocations: 3.984 kB / 0.7096 GB, free: 10.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=162): time 0.04334/0.6704, allocations: 15.61 MB / 0.7248 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/0.6706, allocations: 226.3 kB / 0.725 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0116/0.6822, allocations: 5.636 MB / 0.7305 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006598/0.6828, allocations: 53.69 kB / 0.7306 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0047/0.6875, allocations: 3.901 MB / 0.7344 GB, free: 432 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.256/0.9435, allocations: 0.6767 MB / 0.7351 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003253/0.9468, allocations: 1.345 MB / 0.7364 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.009e-05/0.9468, allocations: 302.2 kB / 0.7367 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003465/0.9503, allocations: 2.082 MB / 0.7387 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004578/0.9549, allocations: 6.316 MB / 0.7449 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007513/0.9624, allocations: 9.132 MB / 0.7538 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001826/0.9626, allocations: 42.91 kB / 0.7538 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.01396/0.9765, allocations: 8.614 MB / 0.7622 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.185e-05/0.9766, allocations: 72.25 kB / 0.7623 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001624/0.9768, allocations: 152 kB / 0.7625 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001533/0.9783, allocations: 0.7202 MB / 0.7632 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004226/0.9825, allocations: 1.506 MB / 0.7646 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006243/0.9888, allocations: 6.753 MB / 0.7712 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00495/0.9937, allocations: 344 kB / 0.7716 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001058/0.9948, allocations: 418.6 kB / 0.772 GB, free: 126.4 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 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (798): * Single equations (assignments): 791 * 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,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00402/0.9988, allocations: 2.459 MB / 0.7744 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008547/0.9997, allocations: 489.6 kB / 0.7748 GB, free: 124 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004078/1.004, allocations: 2.646 MB / 0.7774 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.709e-05/1.004, allocations: 20 kB / 0.7774 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/1.004, allocations: 8 kB / 0.7774 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/1.004, allocations: 7.969 kB / 0.7774 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/1.017, allocations: 7.426 MB / 0.7847 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-05/1.017, allocations: 4 kB / 0.7847 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/1.018, allocations: 255.6 kB / 0.7849 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001281/1.019, allocations: 0.498 MB / 0.7854 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001745/1.02, allocations: 31.94 kB / 0.7855 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005389/1.025, allocations: 6.077 MB / 0.7914 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.025, allocations: 7.938 kB / 0.7914 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006025/1.031, allocations: 4.966 MB / 0.7962 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001425/1.032, allocations: 482.4 kB / 0.7967 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006262/1.033, allocations: 27.94 kB / 0.7967 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/1.034, allocations: 71.91 kB / 0.7968 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000248/1.035, allocations: 100.7 kB / 0.7969 GB, free: 101.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.775e-05/1.035, allocations: 51.98 kB / 0.7969 GB, free: 101 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004447/1.039, allocations: 3.606 MB / 0.8005 GB, free: 97.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.039, allocations: 4 kB / 0.8005 GB, free: 97.45 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005196/1.044, allocations: 1.096 MB / 0.8015 GB, free: 96.36 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (120): * Single equations (assignments): 115 * 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,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005678/1.05, allocations: 5.598 MB / 0.807 GB, free: 90.71 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007031/1.057, allocations: 4.975 MB / 0.8119 GB, free: 85.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.057, allocations: 0 / 0.8119 GB, free: 85.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001584/1.059, allocations: 1.415 MB / 0.8132 GB, free: 84.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003423/1.062, allocations: 0.6219 MB / 0.8139 GB, free: 83.71 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06599/1.128, allocations: 54.05 MB / 0.8666 GB, free: 22.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004321/1.133, allocations: 3.777 MB / 0.8703 GB, free: 19.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004427/1.137, allocations: 2.123 MB / 0.8724 GB, free: 17.03 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002838/1.14, allocations: 2.3 MB / 0.8746 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of SimCode: time 1.142e-06/1.14, allocations: 0 / 0.8746 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.173/1.313, allocations: 89.96 MB / 0.9625 GB, free: 5.191 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.8/31.11, allocations: 7.984 kB / 0.9625 GB, free: 5.184 MB / 0.6387 GB " [Timeout remaining time 629] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques_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_FrameTorques.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 34.0961023052223] Failed to read output from testmodel.py, exit status != 0: ['time', 'Revolute1.phi', 'Revolute1.w', 'Revolute2.phi', 'Revolute2.w'] 31.25852432893589 31.275263287 30.842514299 Calling exit ...