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.001738/0.001738, allocations: 105.7 kB / 20.42 MB, free: 1.684 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.002035/0.002035, allocations: 217.6 kB / 23.72 MB, free: 5.051 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.426/1.426, allocations: 230.2 MB / 257.1 MB, free: 8.477 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.2214/0.2214, allocations: 46.9 MB / 360.3 MB, free: 4.602 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.002279/0.002279, allocations: 91.84 kB / 0.4955 GB, free: 8.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3212, allocations: 65.99 MB / 0.56 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01478/0.336, allocations: 12.74 MB / 0.5724 GB, free: 8.121 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009862/0.3458, allocations: 4.558 MB / 0.5769 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0023/0.3481, allocations: 83.75 kB / 0.577 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007535/0.3557, allocations: 3.765 MB / 0.5806 GB, free: 15.69 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006196/0.3619, allocations: 2.245 MB / 0.5828 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002617/0.3645, allocations: 0.9943 MB / 0.5838 GB, free: 12.44 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00898/0.3735, allocations: 6.042 MB / 0.5897 GB, free: 6.383 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005264/0.3787, allocations: 3.261 MB / 0.5929 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003573/0.3823, allocations: 1.959 MB / 0.5948 GB, free: 1.086 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004645/0.387, allocations: 2.831 MB / 0.5976 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001323/0.3883, allocations: 408 kB / 0.598 GB, free: 13.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003426/0.3917, allocations: 1.482 MB / 0.5994 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003462/0.3952, allocations: 2.505 MB / 0.6019 GB, free: 9.852 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005088/0.4003, allocations: 2.773 MB / 0.6046 GB, free: 7.062 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01262/0.4129, allocations: 8.786 MB / 0.6131 GB, free: 14.24 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.4129, allocations: 0 / 0.6131 GB, free: 14.24 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.4129, allocations: 0 / 0.6131 GB, free: 14.24 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003408/0.4132, allocations: 0 / 0.6131 GB, free: 14.24 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.01829/0.4315, allocations: 6.358 MB / 0.6194 GB, free: 7.797 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.4316, allocations: 12.03 kB / 0.6194 GB, free: 7.785 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002295/0.4339, allocations: 0.8189 MB / 0.6202 GB, free: 6.957 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03945/0.4733, allocations: 6.062 MB / 0.6261 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01062/0.4839, allocations: 4.151 MB / 0.6301 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002897/0.4842, allocations: 291.3 kB / 0.6304 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001358/0.4856, allocations: 379.8 kB / 0.6308 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02474/0.5103, allocations: 11.47 MB / 0.642 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002451/0.5106, allocations: 55.58 kB / 0.642 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0011/0.5117, allocations: 179.8 kB / 0.6422 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004023/0.5157, allocations: 2.154 MB / 0.6443 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0198/0.5355, allocations: 9.364 MB / 0.6535 GB, free: 3.926 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06366/0.5991, allocations: 45.36 MB / 0.6978 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01064/0.6098, allocations: 3.664 MB / 0.7013 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002955/0.6127, allocations: 1.861 MB / 0.7031 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01173/0.6245, allocations: 5.653 MB / 0.7087 GB, free: 9.852 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.003e-05/0.6245, allocations: 56.03 kB / 0.7087 GB, free: 9.789 MB / 0.545 GB Notification: Performance of pre-optimization done (n=150): time 5.951e-06/0.6245, allocations: 0 / 0.7087 GB, free: 9.789 MB / 0.545 GB Notification: Performance of matching and sorting (n=162): time 0.04542/0.67, allocations: 15.92 MB / 0.7243 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001556/0.6701, allocations: 226.4 kB / 0.7245 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009559/0.6797, allocations: 5.636 MB / 0.73 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003388/0.68, allocations: 49.7 kB / 0.73 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.2496/0.9296, allocations: 3.9 MB / 0.7338 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001039/0.9306, allocations: 0.6822 MB / 0.7345 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002815/0.9335, allocations: 1.345 MB / 0.7358 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.277e-05/0.9335, allocations: 305.2 kB / 0.7361 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003468/0.937, allocations: 2.074 MB / 0.7381 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004746/0.9417, allocations: 6.317 MB / 0.7443 GB, free: 148 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008256/0.95, allocations: 9.13 MB / 0.7532 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001956/0.9502, allocations: 42.19 kB / 0.7533 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.01501/0.9652, allocations: 8.616 MB / 0.7617 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.9653, allocations: 72 kB / 0.7618 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002014/0.9655, allocations: 151.9 kB / 0.7619 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001733/0.9673, allocations: 0.7225 MB / 0.7626 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004475/0.9717, allocations: 1.506 MB / 0.7641 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006596/0.9783, allocations: 6.965 MB / 0.7709 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005464/0.9838, allocations: 343.1 kB / 0.7712 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001174/0.985, allocations: 410.8 kB / 0.7716 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.005007/0.99, allocations: 2.466 MB / 0.774 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/0.991, allocations: 488.7 kB / 0.7745 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004624/0.9956, allocations: 2.645 MB / 0.7771 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.25e-05/0.9957, allocations: 16 kB / 0.7771 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.738e-05/0.9957, allocations: 8 kB / 0.7771 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.821e-05/0.9957, allocations: 7.969 kB / 0.7771 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01537/1.011, allocations: 7.457 MB / 0.7844 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.086e-05/1.011, allocations: 4 kB / 0.7844 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/1.012, allocations: 251.6 kB / 0.7846 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001312/1.014, allocations: 0.4988 MB / 0.7851 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002192/1.014, allocations: 28 kB / 0.7851 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00538/1.019, allocations: 6.296 MB / 0.7913 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.019, allocations: 7.938 kB / 0.7913 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00571/1.025, allocations: 4.96 MB / 0.7961 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/1.026, allocations: 0.5393 MB / 0.7966 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006411/1.027, allocations: 35.91 kB / 0.7967 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/1.029, allocations: 71.92 kB / 0.7968 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002637/1.029, allocations: 100.8 kB / 0.7968 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-05/1.029, allocations: 43.98 kB / 0.7969 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00496/1.034, allocations: 3.613 MB / 0.8004 GB, free: 96.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.91e-07/1.034, allocations: 0 / 0.8004 GB, free: 96.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005538/1.039, allocations: 1.096 MB / 0.8015 GB, free: 95.84 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.006008/1.045, allocations: 5.594 MB / 0.807 GB, free: 90.19 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007031/1.052, allocations: 4.982 MB / 0.8118 GB, free: 85.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/1.052, allocations: 4.125 kB / 0.8118 GB, free: 85.22 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001888/1.054, allocations: 1.401 MB / 0.8132 GB, free: 83.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004714/1.059, allocations: 0.6271 MB / 0.8138 GB, free: 83.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07828/1.137, allocations: 54.06 MB / 0.8666 GB, free: 22.42 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005916/1.143, allocations: 3.775 MB / 0.8703 GB, free: 18.62 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004898/1.148, allocations: 2.121 MB / 0.8723 GB, free: 16.49 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003091/1.151, allocations: 2.3 MB / 0.8746 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.543e-06/1.151, allocations: 0 / 0.8746 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1588/1.31, allocations: 85.15 MB / 0.9577 GB, free: 9.469 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.44/32.75, allocations: 8 kB / 0.9578 GB, free: 9.461 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.66061913501471] Failed to read output from testmodel.py, exit status != 0: ['time', 'Revolute1.phi', 'Revolute1.w', 'Revolute2.phi', 'Revolute2.w'] 32.89493552735075 32.925135344 32.506353743 Calling exit ...