Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.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.001731/0.001731, 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.002007/0.002007, allocations: 221.3 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.493/1.493, allocations: 230.2 MB / 256.2 MB, free: 8.523 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.2351/0.2351, allocations: 46.89 MB / 359.4 MB, free: 4.887 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.CutForce3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce3",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.002433/0.002433, allocations: 91.84 kB / 0.4941 GB, free: 8.984 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3362, allocations: 65.97 MB / 0.5586 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01189/0.3481, allocations: 9.589 MB / 0.5679 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006287/0.3544, allocations: 2.962 MB / 0.5708 GB, free: 8.531 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.3556, allocations: 51.88 kB / 0.5709 GB, free: 8.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00422/0.3599, allocations: 2.029 MB / 0.5728 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002964/0.3628, allocations: 1.133 MB / 0.5739 GB, free: 5.309 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008251/0.3636, allocations: 287.4 kB / 0.5742 GB, free: 5.027 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003521/0.3672, allocations: 2.325 MB / 0.5765 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002385/0.3696, allocations: 1.625 MB / 0.5781 GB, free: 1.031 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001397/0.371, allocations: 0.88 MB / 0.5789 GB, free: 152 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001984/0.3729, allocations: 1.246 MB / 0.5802 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005245/0.3735, allocations: 196 kB / 0.5803 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.375, allocations: 0.7215 MB / 0.581 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001396/0.3764, allocations: 1.149 MB / 0.5822 GB, free: 12.83 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00168/0.3781, allocations: 1.301 MB / 0.5834 GB, free: 11.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005578/0.3837, allocations: 4.33 MB / 0.5877 GB, free: 7.176 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/0.3837, allocations: 4 kB / 0.5877 GB, free: 7.172 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3837, allocations: 0 / 0.5877 GB, free: 7.172 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001207/0.3838, allocations: 0 / 0.5877 GB, free: 7.172 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.006585/0.3904, allocations: 2.942 MB / 0.5905 GB, free: 4.168 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.3904, allocations: 12.03 kB / 0.5906 GB, free: 4.156 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009136/0.3913, allocations: 483 kB / 0.591 GB, free: 3.676 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005532/0.3969, allocations: 1.582 MB / 0.5926 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002957/0.3998, allocations: 1.332 MB / 0.5939 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.4, allocations: 147.8 kB / 0.594 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005814/0.4006, allocations: 187.9 kB / 0.5942 GB, free: 392 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01279/0.4133, allocations: 6.258 MB / 0.6003 GB, free: 9.852 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.459e-05/0.4134, allocations: 15.88 kB / 0.6003 GB, free: 9.836 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005274/0.4139, allocations: 83.91 kB / 0.6004 GB, free: 9.754 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002367/0.4163, allocations: 1.34 MB / 0.6017 GB, free: 8.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01173/0.428, allocations: 5.334 MB / 0.6069 GB, free: 3.051 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03072/0.4588, allocations: 20.04 MB / 0.6265 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004708/0.4635, allocations: 2.012 MB / 0.6284 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.4646, allocations: 0.6429 MB / 0.6291 GB, free: 11.66 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006761/0.4714, allocations: 3.492 MB / 0.6325 GB, free: 8.02 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/0.4714, allocations: 42.98 kB / 0.6325 GB, free: 7.969 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.407e-06/0.4714, allocations: 0 / 0.6325 GB, free: 7.969 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005752/0.4772, allocations: 1.978 MB / 0.6345 GB, free: 5.98 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.4772, allocations: 59.84 kB / 0.6345 GB, free: 5.91 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003051/0.4803, allocations: 1.942 MB / 0.6364 GB, free: 3.965 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.4804, allocations: 37.7 kB / 0.6364 GB, free: 3.922 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001621/0.482, allocations: 1.903 MB / 0.6383 GB, free: 1.996 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003793/0.4824, allocations: 337.5 kB / 0.6386 GB, free: 1.664 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008467/0.4832, allocations: 0.6195 MB / 0.6392 GB, free: 1.035 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.4834, allocations: 361.9 kB / 0.6396 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/0.4848, allocations: 0.8842 MB / 0.6404 GB, free: 15.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003057/0.4879, allocations: 2.759 MB / 0.6431 GB, free: 12.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005006/0.4929, allocations: 3.962 MB / 0.647 GB, free: 7.215 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.4e-05/0.4929, allocations: 20 kB / 0.647 GB, free: 7.195 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.007004/0.4999, allocations: 3.531 MB / 0.6505 GB, free: 3.656 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.81e-05/0.5, allocations: 32 kB / 0.6505 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.562e-05/0.5001, allocations: 68 kB / 0.6506 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001011/0.5002, allocations: 88 kB / 0.6507 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002109/0.5023, allocations: 0.6589 MB / 0.6513 GB, free: 2.812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001206/0.5024, allocations: 131.5 kB / 0.6514 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002143/0.5046, allocations: 429.2 kB / 0.6518 GB, free: 2.262 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003747/0.5049, allocations: 191.9 kB / 0.652 GB, free: 2.074 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 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[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.002219/0.5072, allocations: 1.338 MB / 0.6533 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003375/0.5075, allocations: 162.9 kB / 0.6535 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004625/0.508, allocations: 196.9 kB / 0.6537 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.334e-05/0.508, allocations: 16 kB / 0.6537 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.508, allocations: 3.938 kB / 0.6537 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.508, allocations: 7.969 kB / 0.6537 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007811/0.5158, allocations: 4.061 MB / 0.6577 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/0.5158, allocations: 8.75 kB / 0.6577 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004419/0.5163, allocations: 95.83 kB / 0.6578 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.875e-05/0.5163, allocations: 12 kB / 0.6578 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.148e-05/0.5164, allocations: 31.91 kB / 0.6578 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.29e-05/0.5164, allocations: 11.94 kB / 0.6578 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/0.5164, allocations: 8 kB / 0.6578 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.5181, allocations: 1.239 MB / 0.659 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004339/0.5186, allocations: 255.7 kB / 0.6593 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/0.5188, allocations: 23.94 kB / 0.6593 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005232/0.5193, allocations: 27.97 kB / 0.6593 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.5194, allocations: 51.83 kB / 0.6594 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.377e-05/0.5195, allocations: 28 kB / 0.6594 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002256/0.5217, allocations: 1.271 MB / 0.6606 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5217, allocations: 0 / 0.6606 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002976/0.5247, allocations: 0.6891 MB / 0.6613 GB, free: 8.285 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.5271, allocations: 1.856 MB / 0.6631 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003547/0.5306, allocations: 1.966 MB / 0.665 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/0.5307, allocations: 4 kB / 0.665 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006662/0.5313, allocations: 426.3 kB / 0.6655 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.5327, allocations: 229.5 kB / 0.6657 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03543/0.5681, allocations: 20.88 MB / 0.6861 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003476/0.5716, allocations: 2.275 MB / 0.6883 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002357/0.574, allocations: 0.9518 MB / 0.6892 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001778/0.5758, allocations: 1.034 MB / 0.6902 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of SimCode: time 1.342e-06/0.5758, allocations: 0 / 0.6902 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07374/0.6495, allocations: 32.9 MB / 0.7224 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.49, allocations: 8.047 kB / 0.7224 GB, free: 7.238 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.839850340998964] Failed to read output from testmodel.py, exit status != 0: ['time', 'cutForce.force[3]', 'cutForce.force[2]', 'cutForce.force[1]'] 13.576730327011319 13.810084453 13.423706008 Calling exit ...