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.001677/0.001677, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.002003/0.002003, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.488/1.488, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2295/0.2295, allocations: 46.89 MB / 357.4 MB, free: 10.51 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.002305/0.002305, allocations: 88.12 kB / 0.4912 GB, free: 8.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1268, allocations: 65.99 MB / 0.5556 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01179/0.1386, allocations: 9.562 MB / 0.565 GB, free: 12.81 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006528/0.1451, allocations: 2.94 MB / 0.5679 GB, free: 9.855 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00149/0.1466, allocations: 51.94 kB / 0.5679 GB, free: 9.805 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004035/0.1506, allocations: 2.009 MB / 0.5699 GB, free: 7.789 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003393/0.154, allocations: 1.133 MB / 0.571 GB, free: 6.652 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008793/0.1549, allocations: 291.5 kB / 0.5713 GB, free: 6.367 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003679/0.1586, allocations: 2.337 MB / 0.5735 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002645/0.1612, allocations: 1.918 MB / 0.5754 GB, free: 2.066 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/0.1627, allocations: 0.8723 MB / 0.5763 GB, free: 1.191 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/0.1646, allocations: 1.258 MB / 0.5775 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004206/0.165, allocations: 196 kB / 0.5777 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.1663, allocations: 0.7255 MB / 0.5784 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001223/0.1675, allocations: 1.137 MB / 0.5795 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001497/0.169, allocations: 1.301 MB / 0.5808 GB, free: 12.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005303/0.1743, allocations: 4.338 MB / 0.585 GB, free: 8.207 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1743, allocations: 0 / 0.585 GB, free: 8.207 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1743, allocations: 4 kB / 0.585 GB, free: 8.203 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001054/0.1744, allocations: 0 / 0.585 GB, free: 8.203 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.005885/0.1803, allocations: 2.938 MB / 0.5879 GB, free: 5.203 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/0.1803, allocations: 12.03 kB / 0.5879 GB, free: 5.191 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008294/0.1812, allocations: 483.1 kB / 0.5883 GB, free: 4.711 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004968/0.1861, allocations: 1.578 MB / 0.5899 GB, free: 3.129 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003299/0.1894, allocations: 1.344 MB / 0.5912 GB, free: 1.742 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.1896, allocations: 147.8 kB / 0.5913 GB, free: 1.598 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004608/0.19, allocations: 183.9 kB / 0.5915 GB, free: 1.418 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2639/0.4539, allocations: 6.25 MB / 0.5976 GB, free: 32.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.956e-05/0.4539, allocations: 11.97 kB / 0.5976 GB, free: 32.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000254/0.4542, allocations: 89.81 kB / 0.5977 GB, free: 32.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002385/0.4566, allocations: 1.341 MB / 0.599 GB, free: 31.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0114/0.468, allocations: 5.338 MB / 0.6042 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02893/0.4969, allocations: 20.07 MB / 0.6238 GB, free: 17.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00396/0.5009, allocations: 1.94 MB / 0.6257 GB, free: 16.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008784/0.5018, allocations: 0.64 MB / 0.6264 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006756/0.5085, allocations: 3.626 MB / 0.6299 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.5085, allocations: 37.84 kB / 0.6299 GB, free: 13.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 4.238e-06/0.5085, allocations: 0 / 0.6299 GB, free: 13.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.004819/0.5134, allocations: 1.994 MB / 0.6319 GB, free: 11.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.5134, allocations: 67.77 kB / 0.6319 GB, free: 11.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002682/0.5161, allocations: 1.936 MB / 0.6338 GB, free: 9.719 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.211e-05/0.5162, allocations: 33.7 kB / 0.6339 GB, free: 9.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009014/0.5171, allocations: 1.909 MB / 0.6357 GB, free: 7.895 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002908/0.5173, allocations: 332.1 kB / 0.636 GB, free: 7.574 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007563/0.5181, allocations: 0.6217 MB / 0.6367 GB, free: 6.945 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.825e-05/0.5182, allocations: 357.9 kB / 0.637 GB, free: 6.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.5192, allocations: 0.8842 MB / 0.6379 GB, free: 5.703 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/0.521, allocations: 2.747 MB / 0.6405 GB, free: 2.023 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004266/0.5252, allocations: 3.965 MB / 0.6444 GB, free: 13.12 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.804e-05/0.5253, allocations: 20 kB / 0.6444 GB, free: 13.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006682/0.532, allocations: 3.538 MB / 0.6479 GB, free: 9.566 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.111e-05/0.5321, allocations: 36 kB / 0.6479 GB, free: 9.531 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001085/0.5322, allocations: 64 kB / 0.648 GB, free: 9.469 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001161/0.5323, allocations: 95.84 kB / 0.6481 GB, free: 9.379 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002074/0.5344, allocations: 0.655 MB / 0.6487 GB, free: 8.723 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001355/0.5345, allocations: 135.5 kB / 0.6488 GB, free: 8.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/0.5366, allocations: 428.8 kB / 0.6493 GB, free: 8.168 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004082/0.537, allocations: 180 kB / 0.6494 GB, free: 7.992 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.002414/0.5394, allocations: 1.344 MB / 0.6507 GB, free: 6.641 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003375/0.5398, allocations: 162.9 kB / 0.6509 GB, free: 6.48 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005001/0.5403, allocations: 196.8 kB / 0.6511 GB, free: 6.281 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.074e-05/0.5403, allocations: 12 kB / 0.6511 GB, free: 6.27 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.5403, allocations: 0 / 0.6511 GB, free: 6.27 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.5403, allocations: 3.984 kB / 0.6511 GB, free: 6.266 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009019/0.5493, allocations: 4.03 MB / 0.655 GB, free: 2.102 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/0.5494, allocations: 8 kB / 0.655 GB, free: 2.094 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004834/0.5498, allocations: 103.8 kB / 0.6551 GB, free: 1.992 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.72e-05/0.5499, allocations: 12 kB / 0.6552 GB, free: 1.98 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.777e-05/0.5499, allocations: 19.98 kB / 0.6552 GB, free: 1.961 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.772e-05/0.55, allocations: 19.92 kB / 0.6552 GB, free: 1.941 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.719e-06/0.55, allocations: 11.94 kB / 0.6552 GB, free: 1.93 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.5517, allocations: 1.263 MB / 0.6564 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005432/0.5522, allocations: 263.6 kB / 0.6567 GB, free: 288 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003162/0.5526, allocations: 20 kB / 0.6567 GB, free: 268 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006099/0.5532, allocations: 31.92 kB / 0.6567 GB, free: 236 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.5533, allocations: 59.77 kB / 0.6568 GB, free: 176 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.879e-05/0.5533, allocations: 28 kB / 0.6568 GB, free: 148 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002407/0.5558, allocations: 1.275 MB / 0.6581 GB, free: 14.88 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5558, allocations: 0 / 0.6581 GB, free: 14.88 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002899/0.5587, allocations: 0.6852 MB / 0.6587 GB, free: 14.19 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.002494/0.5611, allocations: 1.874 MB / 0.6606 GB, free: 12.21 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00342/0.5646, allocations: 1.956 MB / 0.6625 GB, free: 10.27 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/0.5646, allocations: 4 kB / 0.6625 GB, free: 10.27 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006768/0.5653, allocations: 431.1 kB / 0.6629 GB, free: 9.848 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.5668, allocations: 239.7 kB / 0.6631 GB, free: 9.625 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03709/0.6039, allocations: 20.94 MB / 0.6836 GB, free: 2.137 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003781/0.6077, allocations: 2.275 MB / 0.6858 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002374/0.6101, allocations: 0.9626 MB / 0.6867 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00185/0.6119, allocations: 1.042 MB / 0.6877 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of SimCode: time 1.814e-06/0.6119, allocations: 0 / 0.6877 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07393/0.6859, allocations: 32.81 MB / 0.7198 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.31, allocations: 7.922 kB / 0.7198 GB, free: 13.14 MB / 0.5294 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutTorque2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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: 16.314792030025274] Failed to read output from testmodel.py, exit status != 0: ['time', 'cutTorque.torque[3]', 'cutTorque.torque[2]', 'cutTorque.torque[1]'] 13.406114927027375 13.430434895 13.251170318 Calling exit ...