Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.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.001948/0.001948, allocations: 109.4 kB / 19.8 MB, free: 2.5 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.002663/0.002663, allocations: 218.5 kB / 23 MB, free: 5.582 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.438/1.438, allocations: 230.2 MB / 256.2 MB, free: 8.52 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.2184/0.2184, allocations: 46.9 MB / 359.4 MB, free: 4.863 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.CutTorque3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutTorque3",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.002282/0.002282, allocations: 87.86 kB / 0.4941 GB, free: 8.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3146, allocations: 65.99 MB / 0.5586 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01158/0.3262, allocations: 9.585 MB / 0.5679 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00643/0.3326, allocations: 2.967 MB / 0.5708 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.3336, allocations: 47.94 kB / 0.5709 GB, free: 8.465 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003859/0.3375, allocations: 2.021 MB / 0.5728 GB, free: 6.438 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002785/0.3403, allocations: 1.136 MB / 0.574 GB, free: 5.297 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000712/0.341, allocations: 295.4 kB / 0.5742 GB, free: 5.008 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003244/0.3442, allocations: 2.318 MB / 0.5765 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002268/0.3465, allocations: 1.621 MB / 0.5781 GB, free: 1.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.3479, allocations: 0.8799 MB / 0.5789 GB, free: 140 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001742/0.3496, allocations: 1.254 MB / 0.5802 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003525/0.35, allocations: 192 kB / 0.5803 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.3514, allocations: 0.7255 MB / 0.5811 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001205/0.3526, allocations: 1.133 MB / 0.5822 GB, free: 12.83 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001448/0.354, allocations: 1.312 MB / 0.5834 GB, free: 11.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005041/0.3591, allocations: 4.334 MB / 0.5877 GB, free: 7.156 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3591, allocations: 0 / 0.5877 GB, free: 7.156 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3591, allocations: 0 / 0.5877 GB, free: 7.156 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.556e-05/0.3592, allocations: 0 / 0.5877 GB, free: 7.156 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.005119/0.3643, allocations: 2.938 MB / 0.5905 GB, free: 4.156 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3643, allocations: 12.03 kB / 0.5906 GB, free: 4.145 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005916/0.3649, allocations: 487 kB / 0.591 GB, free: 3.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005086/0.37, allocations: 1.582 MB / 0.5926 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002487/0.3725, allocations: 1.336 MB / 0.5939 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.3726, allocations: 147.8 kB / 0.594 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004422/0.3731, allocations: 187.8 kB / 0.5942 GB, free: 372 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01029/0.3833, allocations: 6.246 MB / 0.6003 GB, free: 9.844 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.892e-05/0.3834, allocations: 11.88 kB / 0.6003 GB, free: 9.832 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002429/0.3836, allocations: 95.89 kB / 0.6004 GB, free: 9.738 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002129/0.3858, allocations: 1.344 MB / 0.6017 GB, free: 8.391 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01021/0.396, allocations: 5.33 MB / 0.6069 GB, free: 3.035 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0289/0.4249, allocations: 20.08 MB / 0.6265 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004349/0.4292, allocations: 1.943 MB / 0.6284 GB, free: 12.32 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.4303, allocations: 0.6392 MB / 0.629 GB, free: 11.67 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006919/0.4372, allocations: 3.613 MB / 0.6326 GB, free: 7.914 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.4372, allocations: 39 kB / 0.6326 GB, free: 7.867 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.978e-06/0.4372, allocations: 0 / 0.6326 GB, free: 7.867 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005519/0.4428, allocations: 1.998 MB / 0.6346 GB, free: 5.859 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.4428, allocations: 55.84 kB / 0.6346 GB, free: 5.793 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002854/0.4457, allocations: 1.942 MB / 0.6365 GB, free: 3.848 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.496e-05/0.4457, allocations: 37.7 kB / 0.6366 GB, free: 3.805 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001455/0.4472, allocations: 1.903 MB / 0.6384 GB, free: 1.879 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003383/0.4475, allocations: 333.5 kB / 0.6387 GB, free: 1.551 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000818/0.4483, allocations: 0.6156 MB / 0.6393 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002078/0.4486, allocations: 361.9 kB / 0.6397 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/0.4499, allocations: 0.892 MB / 0.6405 GB, free: 15.67 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002977/0.4529, allocations: 2.744 MB / 0.6432 GB, free: 12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004879/0.4578, allocations: 3.973 MB / 0.6471 GB, free: 7.105 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-05/0.4578, allocations: 20 kB / 0.6471 GB, free: 7.086 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005735/0.4635, allocations: 3.539 MB / 0.6506 GB, free: 3.539 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.24e-05/0.4636, allocations: 32 kB / 0.6506 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-05/0.4637, allocations: 68 kB / 0.6507 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.57e-05/0.4638, allocations: 91.94 kB / 0.6508 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/0.4657, allocations: 0.6518 MB / 0.6514 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001188/0.4658, allocations: 135.4 kB / 0.6515 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/0.4677, allocations: 428.8 kB / 0.6519 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002717/0.468, allocations: 188 kB / 0.6521 GB, free: 1.961 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.00195/0.4699, allocations: 1.334 MB / 0.6534 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002471/0.4702, allocations: 166.9 kB / 0.6536 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003831/0.4706, allocations: 196.9 kB / 0.6538 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.25e-05/0.4706, allocations: 11.94 kB / 0.6538 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.4706, allocations: 0 / 0.6538 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-05/0.4706, allocations: 11.92 kB / 0.6538 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006469/0.4771, allocations: 4.021 MB / 0.6577 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.4771, allocations: 8 kB / 0.6577 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/0.4775, allocations: 103.8 kB / 0.6578 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/0.4775, allocations: 8 kB / 0.6578 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.028e-05/0.4776, allocations: 20 kB / 0.6578 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.546e-05/0.4776, allocations: 19.86 kB / 0.6579 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.4776, allocations: 8 kB / 0.6579 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.4793, allocations: 1.275 MB / 0.6591 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000395/0.4797, allocations: 255.7 kB / 0.6594 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.4798, allocations: 23.98 kB / 0.6594 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004581/0.4803, allocations: 27.94 kB / 0.6594 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.4804, allocations: 55.77 kB / 0.6595 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.155e-05/0.4805, allocations: 35.98 kB / 0.6595 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001912/0.4824, allocations: 1.267 MB / 0.6607 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4824, allocations: 0 / 0.6607 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002882/0.4853, allocations: 0.6813 MB / 0.6614 GB, free: 8.164 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.002401/0.4877, allocations: 1.881 MB / 0.6632 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003314/0.491, allocations: 1.964 MB / 0.6652 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.491, allocations: 0 / 0.6652 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006006/0.4916, allocations: 430.3 kB / 0.6656 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.4929, allocations: 240.1 kB / 0.6658 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03213/0.525, allocations: 20.95 MB / 0.6863 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00289/0.5279, allocations: 2.279 MB / 0.6885 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002142/0.5301, allocations: 0.9558 MB / 0.6894 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001405/0.5315, allocations: 1.042 MB / 0.6904 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of SimCode: time 1.233e-06/0.5315, allocations: 4 kB / 0.6904 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0687/0.6002, allocations: 32.93 MB / 0.7226 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13.11, allocations: 15.73 kB / 0.7226 GB, free: 6.93 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.434293019003235] Failed to read output from testmodel.py, exit status != 0: ['time', 'cutTorque.torque[3]', 'cutTorque.torque[2]', 'cutTorque.torque[1]'] 13.202877861011075 13.55490952 13.192926368 Calling exit ...