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.001389/0.001389, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.00146/0.00146, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.425/1.425, allocations: 230.5 MB / 258.2 MB, free: 7.988 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.2287/0.2287, allocations: 46.92 MB / 361.6 MB, free: 4.164 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.003429/0.003429, allocations: 83.84 kB / 0.497 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3341, allocations: 66.08 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01467/0.3488, allocations: 12.76 MB / 0.574 GB, free: 7.477 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009279/0.3581, allocations: 4.548 MB / 0.5784 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001944/0.36, allocations: 99.5 kB / 0.5785 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006795/0.3668, allocations: 3.773 MB / 0.5822 GB, free: 15.03 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005536/0.3724, allocations: 2.249 MB / 0.5844 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002331/0.3747, allocations: 1.006 MB / 0.5854 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008537/0.3832, allocations: 6.054 MB / 0.5913 GB, free: 5.699 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004462/0.3877, allocations: 3.514 MB / 0.5947 GB, free: 2.113 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003224/0.3909, allocations: 1.99 MB / 0.5967 GB, free: 120 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004298/0.3952, allocations: 2.831 MB / 0.5994 GB, free: 13.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009413/0.3961, allocations: 408 kB / 0.5998 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002691/0.3988, allocations: 1.482 MB / 0.6013 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002586/0.4014, allocations: 2.512 MB / 0.6037 GB, free: 8.875 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003519/0.4049, allocations: 2.765 MB / 0.6064 GB, free: 6.094 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01064/0.4156, allocations: 8.786 MB / 0.615 GB, free: 13.27 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.4156, allocations: 0 / 0.615 GB, free: 13.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4156, allocations: 0 / 0.615 GB, free: 13.27 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002407/0.4158, 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.01377/0.4296, allocations: 6.287 MB / 0.6211 GB, free: 6.918 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.4296, allocations: 12.03 kB / 0.6211 GB, free: 6.906 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001289/0.4309, allocations: 0.8188 MB / 0.6219 GB, free: 6.078 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0331/0.464, allocations: 6.063 MB / 0.6279 GB, free: 4 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01016/0.4742, allocations: 4.071 MB / 0.6318 GB, free: 11.87 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002747/0.4745, allocations: 279.3 kB / 0.6321 GB, free: 11.59 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001429/0.4759, allocations: 383.7 kB / 0.6325 GB, free: 11.22 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02161/0.4975, allocations: 11.48 MB / 0.6437 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001668/0.4977, allocations: 59.5 kB / 0.6437 GB, free: 14.83 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005158/0.4982, allocations: 179.8 kB / 0.6439 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003561/0.5017, allocations: 2.147 MB / 0.646 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01948/0.5212, allocations: 9.374 MB / 0.6552 GB, free: 3.113 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05888/0.5801, allocations: 45.17 MB / 0.6993 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009546/0.5897, allocations: 3.216 MB / 0.7024 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002752/0.5924, allocations: 1.869 MB / 0.7042 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009726/0.6021, allocations: 5.403 MB / 0.7095 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.186e-05/0.6022, allocations: 48.05 kB / 0.7096 GB, free: 10.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=150): time 3.867e-06/0.6022, allocations: 4 kB / 0.7096 GB, free: 10.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=162): time 0.04049/0.6427, allocations: 15.61 MB / 0.7248 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/0.6428, allocations: 222.2 kB / 0.725 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008248/0.6511, allocations: 5.64 MB / 0.7305 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003143/0.6514, allocations: 53.69 kB / 0.7306 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003315/0.6547, allocations: 3.901 MB / 0.7344 GB, free: 420 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.2478/0.9025, allocations: 0.6802 MB / 0.7351 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002949/0.9054, allocations: 1.35 MB / 0.7364 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.537e-05/0.9055, allocations: 302.2 kB / 0.7367 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003192/0.9087, allocations: 2.073 MB / 0.7387 GB, free: 155 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004415/0.9131, allocations: 6.313 MB / 0.7449 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007486/0.9206, allocations: 9.134 MB / 0.7538 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001287/0.9207, allocations: 42.91 kB / 0.7538 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.01359/0.9343, allocations: 8.625 MB / 0.7622 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.892e-05/0.9344, allocations: 72 kB / 0.7623 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001461/0.9345, allocations: 151.9 kB / 0.7625 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/0.936, allocations: 0.7244 MB / 0.7632 GB, free: 136 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004018/0.94, allocations: 1.499 MB / 0.7646 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006118/0.9461, allocations: 6.753 MB / 0.7712 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005032/0.9512, allocations: 348.4 kB / 0.7716 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008899/0.9521, allocations: 414.8 kB / 0.772 GB, free: 127.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 (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.003561/0.9556, allocations: 2.457 MB / 0.7744 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008333/0.9565, allocations: 486.8 kB / 0.7748 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003722/0.9602, allocations: 2.639 MB / 0.7774 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.731e-05/0.9602, allocations: 20 kB / 0.7774 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.9602, allocations: 7.984 kB / 0.7774 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.9602, allocations: 7.984 kB / 0.7774 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/0.9711, allocations: 7.435 MB / 0.7847 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.9711, allocations: 8 kB / 0.7847 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.9722, allocations: 255.6 kB / 0.7849 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001162/0.9734, allocations: 0.5034 MB / 0.7854 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.801e-05/0.9735, allocations: 28 kB / 0.7855 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004914/0.9784, allocations: 6.073 MB / 0.7914 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.9784, allocations: 4 kB / 0.7914 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005191/0.9836, allocations: 4.96 MB / 0.7962 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/0.9847, allocations: 475.2 kB / 0.7967 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004424/0.9852, allocations: 31.94 kB / 0.7967 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/0.9865, allocations: 79.73 kB / 0.7968 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002082/0.9867, allocations: 100.7 kB / 0.7969 GB, free: 102.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.038e-05/0.9868, allocations: 48 kB / 0.7969 GB, free: 102.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004343/0.9912, allocations: 3.613 MB / 0.8005 GB, free: 98.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9912, allocations: 0 / 0.8005 GB, free: 98.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005003/0.9962, allocations: 1.09 MB / 0.8015 GB, free: 97.81 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.005354/1.002, allocations: 5.598 MB / 0.807 GB, free: 92.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006655/1.008, allocations: 4.983 MB / 0.8119 GB, free: 87.19 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.008, allocations: 4.812 kB / 0.8119 GB, free: 87.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001547/1.01, allocations: 1.401 MB / 0.8132 GB, free: 85.76 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003142/1.013, allocations: 0.6202 MB / 0.8138 GB, free: 85.15 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05464/1.068, allocations: 54.06 MB / 0.8666 GB, free: 24.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003125/1.071, allocations: 3.773 MB / 0.8703 GB, free: 20.58 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003761/1.074, allocations: 2.121 MB / 0.8724 GB, free: 18.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002196/1.077, allocations: 2.303 MB / 0.8746 GB, free: 16.14 MB / 0.5606 GB Notification: Performance of SimCode: time 1.193e-06/1.077, allocations: 0 / 0.8746 GB, free: 16.14 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1642/1.241, allocations: 89.96 MB / 0.9625 GB, free: 6.609 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.3/32.54, allocations: 4 kB / 0.9625 GB, free: 6.605 MB / 0.6387 GB " [Timeout remaining time 627] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameTorques_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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: 35.46263372292742] Failed to read output from testmodel.py, exit status != 0: ['time', 'Revolute1.phi', 'Revolute1.w', 'Revolute2.phi', 'Revolute2.w'] 32.68920355569571 32.71390791 32.293342269 Calling exit ...