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.001267/0.001267, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001411/0.001411, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.502/1.502, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2319/0.2319, allocations: 46.89 MB / 357.4 MB, free: 10.52 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.002263/0.002263, allocations: 83.86 kB / 0.4912 GB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1344, allocations: 65.98 MB / 0.5556 GB, free: 6.465 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.012/0.1464, allocations: 9.578 MB / 0.565 GB, free: 12.83 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006556/0.1529, allocations: 2.941 MB / 0.5679 GB, free: 9.879 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00145/0.1544, allocations: 47.94 kB / 0.5679 GB, free: 9.832 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004298/0.1587, allocations: 2.021 MB / 0.5699 GB, free: 7.805 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003389/0.1621, allocations: 1.132 MB / 0.571 GB, free: 6.672 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.1632, allocations: 283.4 kB / 0.5713 GB, free: 6.395 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004016/0.1672, allocations: 2.329 MB / 0.5735 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002675/0.1699, allocations: 1.91 MB / 0.5754 GB, free: 2.105 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.1713, allocations: 0.8839 MB / 0.5763 GB, free: 1.219 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001756/0.173, allocations: 1.246 MB / 0.5775 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004263/0.1734, allocations: 192 kB / 0.5777 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001344/0.1748, allocations: 0.7255 MB / 0.5784 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001182/0.176, allocations: 1.145 MB / 0.5795 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001478/0.1774, allocations: 1.312 MB / 0.5808 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005158/0.1826, allocations: 4.33 MB / 0.585 GB, free: 8.238 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1826, allocations: 0 / 0.585 GB, free: 8.238 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1826, allocations: 0 / 0.585 GB, free: 8.238 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.537e-05/0.1827, allocations: 0 / 0.585 GB, free: 8.238 MB / 446.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.005505/0.1882, allocations: 2.945 MB / 0.5879 GB, free: 5.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.1883, allocations: 8.031 kB / 0.5879 GB, free: 5.223 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007011/0.189, allocations: 483.1 kB / 0.5884 GB, free: 4.742 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005017/0.194, allocations: 1.574 MB / 0.5899 GB, free: 3.164 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003346/0.1973, allocations: 1.34 MB / 0.5912 GB, free: 1.781 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.1975, allocations: 147.8 kB / 0.5913 GB, free: 1.637 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004745/0.1979, allocations: 187.9 kB / 0.5915 GB, free: 1.453 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2622/0.4602, allocations: 6.249 MB / 0.5976 GB, free: 32.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.426e-05/0.4602, allocations: 13.95 kB / 0.5976 GB, free: 32.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002741/0.4605, allocations: 88.66 kB / 0.5977 GB, free: 32.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002316/0.4628, allocations: 1.343 MB / 0.599 GB, free: 31.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01126/0.4741, allocations: 5.335 MB / 0.6042 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02955/0.5036, allocations: 20.07 MB / 0.6238 GB, free: 17.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003839/0.5075, allocations: 1.943 MB / 0.6257 GB, free: 16.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007999/0.5083, allocations: 0.6336 MB / 0.6264 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006098/0.5144, allocations: 3.621 MB / 0.6299 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.5144, allocations: 45.73 kB / 0.6299 GB, free: 13.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.928e-06/0.5144, allocations: 7.984 kB / 0.6299 GB, free: 13.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.004544/0.5189, allocations: 1.984 MB / 0.6319 GB, free: 11.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.519, allocations: 59.84 kB / 0.6319 GB, free: 11.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/0.521, allocations: 1.938 MB / 0.6338 GB, free: 9.789 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.797e-05/0.521, allocations: 41.7 kB / 0.6339 GB, free: 9.742 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007549/0.5218, allocations: 1.912 MB / 0.6357 GB, free: 7.957 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/0.522, allocations: 327.9 kB / 0.636 GB, free: 7.641 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005551/0.5225, allocations: 0.6219 MB / 0.6367 GB, free: 7.012 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.361e-05/0.5226, allocations: 361.9 kB / 0.637 GB, free: 6.652 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009338/0.5236, allocations: 0.8855 MB / 0.6379 GB, free: 5.766 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.525, allocations: 2.747 MB / 0.6405 GB, free: 2.086 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003824/0.5288, allocations: 3.966 MB / 0.6444 GB, free: 13.19 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.91e-05/0.5289, allocations: 20 kB / 0.6444 GB, free: 13.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005737/0.5346, allocations: 3.537 MB / 0.6479 GB, free: 9.633 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.359e-05/0.5347, allocations: 36 kB / 0.6479 GB, free: 9.598 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.412e-05/0.5347, allocations: 64 kB / 0.648 GB, free: 9.535 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.72e-05/0.5348, allocations: 91.94 kB / 0.6481 GB, free: 9.445 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001902/0.5367, allocations: 0.655 MB / 0.6487 GB, free: 8.789 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001099/0.5368, allocations: 131.5 kB / 0.6488 GB, free: 8.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.5387, allocations: 429 kB / 0.6493 GB, free: 8.238 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002769/0.539, allocations: 186.4 kB / 0.6494 GB, free: 8.059 MB / 462.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.002055/0.541, allocations: 1.334 MB / 0.6507 GB, free: 6.715 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002611/0.5413, allocations: 166.9 kB / 0.6509 GB, free: 6.551 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003626/0.5417, allocations: 200.8 kB / 0.6511 GB, free: 6.348 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/0.5417, allocations: 8 kB / 0.6511 GB, free: 6.34 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.5417, allocations: 4 kB / 0.6511 GB, free: 6.336 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.5417, allocations: 7.984 kB / 0.6511 GB, free: 6.328 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007208/0.5489, allocations: 4.026 MB / 0.655 GB, free: 2.156 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/0.5489, allocations: 11.62 kB / 0.655 GB, free: 2.148 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004022/0.5493, allocations: 104.7 kB / 0.6551 GB, free: 2.047 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/0.5493, allocations: 8 kB / 0.6552 GB, free: 2.039 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.902e-05/0.5494, allocations: 24 kB / 0.6552 GB, free: 2.016 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.228e-05/0.5494, allocations: 10.89 kB / 0.6552 GB, free: 2.008 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.214e-05/0.5494, allocations: 11.94 kB / 0.6552 GB, free: 1.996 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.551, allocations: 1.274 MB / 0.6564 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004668/0.5515, allocations: 259.7 kB / 0.6567 GB, free: 352 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/0.5517, allocations: 20 kB / 0.6567 GB, free: 332 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004742/0.5521, allocations: 35.91 kB / 0.6567 GB, free: 296 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.663e-05/0.5522, allocations: 55.83 kB / 0.6568 GB, free: 240 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.196e-05/0.5523, allocations: 24 kB / 0.6568 GB, free: 216 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001844/0.5541, allocations: 1.279 MB / 0.6581 GB, free: 14.94 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5541, allocations: 0 / 0.6581 GB, free: 14.94 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002514/0.5566, allocations: 0.6852 MB / 0.6587 GB, free: 14.25 MB / 478.1 MB 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.002195/0.5588, allocations: 1.874 MB / 0.6606 GB, free: 12.27 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003515/0.5624, allocations: 1.962 MB / 0.6625 GB, free: 10.33 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.5624, allocations: 0 / 0.6625 GB, free: 10.33 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006125/0.563, allocations: 432.6 kB / 0.6629 GB, free: 9.906 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.5643, allocations: 236.2 kB / 0.6631 GB, free: 9.688 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03354/0.5979, allocations: 20.94 MB / 0.6836 GB, free: 2.191 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002975/0.6008, allocations: 2.271 MB / 0.6858 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002271/0.6031, allocations: 0.9655 MB / 0.6867 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001456/0.6046, allocations: 1.038 MB / 0.6877 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of SimCode: time 1.643e-06/0.6046, allocations: 0 / 0.6877 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06896/0.6735, allocations: 32.81 MB / 0.7198 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.21, allocations: 22.17 kB / 0.7198 GB, free: 13.19 MB / 0.5294 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 --stepSize=0.000219912 --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.22122128587216] Failed to read output from testmodel.py, exit status != 0: ['time', 'cutTorque.torque[3]', 'cutTorque.torque[2]', 'cutTorque.torque[1]'] 13.319430514704436 13.345926659 13.158130344 Calling exit ...