Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.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.002193/0.002193, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002267/0.002267, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.467/1.467, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2299/0.2299, allocations: 46.93 MB / 361.6 MB, free: 4.289 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.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutTorque2",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.002406/0.002406, allocations: 75.88 kB / 0.497 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3044, allocations: 66.09 MB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01144/0.3158, allocations: 9.592 MB / 0.5709 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005686/0.3215, allocations: 2.959 MB / 0.5738 GB, free: 7.723 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007966/0.3223, allocations: 55.81 kB / 0.5738 GB, free: 7.668 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003767/0.326, allocations: 2.029 MB / 0.5758 GB, free: 5.633 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002388/0.3284, allocations: 1.133 MB / 0.5769 GB, free: 4.496 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006833/0.3291, allocations: 291.3 kB / 0.5772 GB, free: 4.211 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002935/0.3321, allocations: 2.333 MB / 0.5795 GB, free: 1.871 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001982/0.334, allocations: 1.738 MB / 0.5812 GB, free: 88 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.3351, allocations: 0.8918 MB / 0.582 GB, free: 15.19 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.3368, allocations: 1.25 MB / 0.5832 GB, free: 13.94 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003418/0.3371, allocations: 192 kB / 0.5834 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.3384, allocations: 0.7333 MB / 0.5841 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001116/0.3395, allocations: 1.137 MB / 0.5853 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.3407, allocations: 1.301 MB / 0.5865 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004726/0.3455, allocations: 4.338 MB / 0.5908 GB, free: 6.211 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3455, allocations: 3.938 kB / 0.5908 GB, free: 6.207 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3455, allocations: 0 / 0.5908 GB, free: 6.207 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.332e-05/0.3455, allocations: 4 kB / 0.5908 GB, free: 6.203 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.004698/0.3502, allocations: 2.859 MB / 0.5936 GB, free: 3.301 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3503, allocations: 12.03 kB / 0.5936 GB, free: 3.289 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005858/0.3509, allocations: 479.1 kB / 0.594 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004926/0.3558, allocations: 1.582 MB / 0.5956 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002837/0.3586, allocations: 1.278 MB / 0.5968 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.3587, allocations: 147.8 kB / 0.597 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004244/0.3592, allocations: 183.9 kB / 0.5971 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009294/0.3685, allocations: 6.246 MB / 0.6032 GB, free: 9.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.357e-05/0.3685, allocations: 11.88 kB / 0.6033 GB, free: 9.059 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002269/0.3687, allocations: 87.91 kB / 0.6033 GB, free: 8.973 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002054/0.3708, allocations: 1.344 MB / 0.6046 GB, free: 7.625 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009225/0.38, allocations: 5.338 MB / 0.6099 GB, free: 2.273 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02515/0.4052, allocations: 20 MB / 0.6294 GB, free: 13.69 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003801/0.409, allocations: 1.488 MB / 0.6308 GB, free: 12.19 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009569/0.4099, allocations: 0.6389 MB / 0.6315 GB, free: 11.54 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006001/0.4159, allocations: 3.156 MB / 0.6345 GB, free: 8.367 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.4159, allocations: 39 kB / 0.6346 GB, free: 8.32 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.194e-06/0.4159, allocations: 0 / 0.6346 GB, free: 8.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005278/0.4212, allocations: 1.99 MB / 0.6365 GB, free: 6.32 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.4213, allocations: 55.84 kB / 0.6366 GB, free: 6.254 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002517/0.4238, allocations: 1.945 MB / 0.6385 GB, free: 4.305 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.816e-05/0.4238, allocations: 37.7 kB / 0.6385 GB, free: 4.262 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001393/0.4252, allocations: 1.907 MB / 0.6404 GB, free: 2.332 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002886/0.4255, allocations: 333.5 kB / 0.6407 GB, free: 2.004 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007494/0.4263, allocations: 0.6272 MB / 0.6413 GB, free: 1.367 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.4265, allocations: 357.9 kB / 0.6417 GB, free: 1.012 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/0.4278, allocations: 0.8803 MB / 0.6425 GB, free: 132 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002905/0.4307, allocations: 2.751 MB / 0.6452 GB, free: 12.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004596/0.4353, allocations: 3.97 MB / 0.6491 GB, free: 7.555 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.942e-05/0.4353, allocations: 20 kB / 0.6491 GB, free: 7.535 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005457/0.4408, allocations: 3.524 MB / 0.6525 GB, free: 4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.787e-05/0.4408, allocations: 32 kB / 0.6526 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.899e-05/0.4409, allocations: 72.16 kB / 0.6526 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.483e-05/0.441, allocations: 91.94 kB / 0.6527 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001848/0.4428, allocations: 0.655 MB / 0.6534 GB, free: 3.152 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001061/0.4429, allocations: 127.5 kB / 0.6535 GB, free: 3.027 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.4446, allocations: 428.8 kB / 0.6539 GB, free: 2.605 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002321/0.4448, allocations: 184 kB / 0.6541 GB, free: 2.426 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 357 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001903/0.4467, allocations: 1.347 MB / 0.6554 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002281/0.447, allocations: 170.8 kB / 0.6555 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003225/0.4473, allocations: 196.9 kB / 0.6557 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.238e-05/0.4473, allocations: 11.94 kB / 0.6557 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.4473, allocations: 0 / 0.6557 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.4473, allocations: 3.984 kB / 0.6557 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006486/0.4538, allocations: 4.004 MB / 0.6597 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.4538, allocations: 4 kB / 0.6597 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004062/0.4542, allocations: 107.8 kB / 0.6598 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.29e-05/0.4542, allocations: 8 kB / 0.6598 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.032e-05/0.4543, allocations: 23.98 kB / 0.6598 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.169e-05/0.4543, allocations: 11.94 kB / 0.6598 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.4543, allocations: 8.531 kB / 0.6598 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/0.4559, allocations: 1.278 MB / 0.6611 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003374/0.4563, allocations: 178.6 kB / 0.6612 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.4564, allocations: 19.98 kB / 0.6613 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000447/0.4569, allocations: 27.94 kB / 0.6613 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.457, allocations: 59.8 kB / 0.6613 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.906e-05/0.457, allocations: 31.98 kB / 0.6614 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001802/0.4588, allocations: 1.267 MB / 0.6626 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4588, allocations: 0 / 0.6626 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002359/0.4612, allocations: 0.6891 MB / 0.6633 GB, free: 8.738 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * 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 (57): * Single equations (assignments): 54 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002043/0.4632, allocations: 1.873 MB / 0.6651 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003328/0.4666, allocations: 1.964 MB / 0.667 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.4666, allocations: 0 / 0.667 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006338/0.4672, allocations: 433 kB / 0.6674 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.4686, allocations: 247.2 kB / 0.6677 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03041/0.499, allocations: 20.94 MB / 0.6881 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002675/0.5016, allocations: 2.271 MB / 0.6903 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002124/0.5038, allocations: 0.9597 MB / 0.6913 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001566/0.5053, allocations: 1.046 MB / 0.6923 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of SimCode: time 6.51e-07/0.5053, allocations: 0 / 0.6923 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07848/0.5838, allocations: 35.16 MB / 0.7266 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.76, allocations: 19.03 kB / 0.7267 GB, free: 5.277 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2_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_Sensors_CutTorque2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.975872945971787] Failed to read output from testmodel.py, exit status != 0: ['time', 'cutTorque.torque[3]', 'cutTorque.torque[2]', 'cutTorque.torque[1]'] 12.849246049299836 13.099482351 12.750501669 Calling exit ...