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.00136/0.00136, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.001513/0.001513, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.492/1.492, allocations: 230.4 MB / 254.7 MB, free: 15.05 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.2313/0.2313, allocations: 46.92 MB / 357.7 MB, free: 10.24 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.003641/0.003641, allocations: 87.84 kB / 0.4917 GB, free: 7.793 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1407, allocations: 66.04 MB / 0.5562 GB, free: 5.625 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01165/0.1524, allocations: 9.564 MB / 0.5655 GB, free: 12.01 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007896/0.1602, allocations: 2.936 MB / 0.5684 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.1616, allocations: 51.88 kB / 0.5684 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005362/0.1669, allocations: 2.029 MB / 0.5704 GB, free: 6.973 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003962/0.1709, allocations: 1.125 MB / 0.5715 GB, free: 5.844 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.1721, allocations: 291.4 kB / 0.5718 GB, free: 5.559 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004674/0.1768, allocations: 2.329 MB / 0.574 GB, free: 3.227 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00377/0.1805, allocations: 1.918 MB / 0.5759 GB, free: 1.266 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00178/0.1823, allocations: 0.8878 MB / 0.5768 GB, free: 384 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002813/0.1851, allocations: 1.254 MB / 0.578 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000598/0.1857, allocations: 196 kB / 0.5782 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002079/0.1878, allocations: 0.7177 MB / 0.5789 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001589/0.1894, allocations: 1.145 MB / 0.58 GB, free: 13.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002018/0.1914, allocations: 1.308 MB / 0.5813 GB, free: 11.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007271/0.1987, allocations: 4.334 MB / 0.5855 GB, free: 7.391 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1987, allocations: 0 / 0.5855 GB, free: 7.391 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1987, allocations: 0 / 0.5855 GB, free: 7.391 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001181/0.1988, allocations: 0 / 0.5855 GB, free: 7.391 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.008147/0.2069, allocations: 2.942 MB / 0.5884 GB, free: 4.387 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.207, allocations: 12.03 kB / 0.5884 GB, free: 4.375 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001096/0.2081, allocations: 487 kB / 0.5889 GB, free: 3.891 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008608/0.2167, allocations: 1.571 MB / 0.5904 GB, free: 2.316 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003959/0.2207, allocations: 1.34 MB / 0.5917 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000186/0.2208, allocations: 147.8 kB / 0.5919 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000699/0.2215, allocations: 187.9 kB / 0.592 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2423/0.4638, allocations: 6.249 MB / 0.5981 GB, free: 31.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.826e-05/0.4639, allocations: 17.41 kB / 0.5982 GB, free: 31.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002445/0.4641, allocations: 88.16 kB / 0.5982 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002268/0.4664, allocations: 1.338 MB / 0.5995 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0102/0.4766, allocations: 5.332 MB / 0.6047 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02202/0.4986, allocations: 20.03 MB / 0.6243 GB, free: 16.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003581/0.5022, allocations: 2.007 MB / 0.6263 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000693/0.5029, allocations: 0.6345 MB / 0.6269 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004689/0.5076, allocations: 3.499 MB / 0.6303 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.5076, allocations: 41.94 kB / 0.6304 GB, free: 12.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.294e-06/0.5076, allocations: 0 / 0.6304 GB, free: 12.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.004573/0.5122, allocations: 1.984 MB / 0.6323 GB, free: 10.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.5122, allocations: 59.78 kB / 0.6323 GB, free: 10.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001854/0.514, allocations: 1.936 MB / 0.6342 GB, free: 8.656 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.274e-05/0.5141, allocations: 33.7 kB / 0.6343 GB, free: 8.617 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006487/0.5147, allocations: 1.912 MB / 0.6361 GB, free: 6.832 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.5149, allocations: 329.5 kB / 0.6364 GB, free: 6.516 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005344/0.5155, allocations: 0.6219 MB / 0.6371 GB, free: 5.887 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.923e-05/0.5155, allocations: 361.9 kB / 0.6374 GB, free: 5.527 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009193/0.5164, allocations: 0.8842 MB / 0.6383 GB, free: 4.641 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/0.5179, allocations: 2.755 MB / 0.641 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004258/0.5221, allocations: 3.974 MB / 0.6448 GB, free: 12.05 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.723e-05/0.5222, allocations: 22.72 kB / 0.6449 GB, free: 12.03 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005791/0.528, allocations: 3.523 MB / 0.6483 GB, free: 8.504 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.034e-05/0.528, allocations: 32 kB / 0.6483 GB, free: 8.473 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-05/0.5281, allocations: 68 kB / 0.6484 GB, free: 8.406 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.775e-05/0.5282, allocations: 88 kB / 0.6485 GB, free: 8.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001956/0.5302, allocations: 0.6595 MB / 0.6491 GB, free: 7.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001123/0.5303, allocations: 139.3 kB / 0.6493 GB, free: 7.527 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/0.5321, allocations: 423.4 kB / 0.6497 GB, free: 7.113 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002758/0.5323, allocations: 188 kB / 0.6498 GB, free: 6.93 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 (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.002116/0.5345, allocations: 1.338 MB / 0.6511 GB, free: 5.578 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002642/0.5347, allocations: 170.9 kB / 0.6513 GB, free: 5.41 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003982/0.5351, allocations: 197.8 kB / 0.6515 GB, free: 5.211 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/0.5351, allocations: 10.34 kB / 0.6515 GB, free: 5.203 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.5351, allocations: 4 kB / 0.6515 GB, free: 5.199 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.5352, allocations: 7.922 kB / 0.6515 GB, free: 5.191 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006844/0.542, allocations: 4.063 MB / 0.6555 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/0.542, allocations: 16.02 kB / 0.6555 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004106/0.5424, allocations: 99.33 kB / 0.6556 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/0.5424, allocations: 11.94 kB / 0.6556 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.174e-05/0.5425, allocations: 19.98 kB / 0.6556 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.115e-05/0.5425, allocations: 8 kB / 0.6556 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/0.5425, allocations: 7.938 kB / 0.6556 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.5441, allocations: 1.243 MB / 0.6569 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003631/0.5445, allocations: 259.7 kB / 0.6571 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.5446, allocations: 25.91 kB / 0.6571 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004775/0.5451, allocations: 27.97 kB / 0.6572 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.5452, allocations: 55.81 kB / 0.6572 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.517e-05/0.5453, allocations: 28 kB / 0.6572 GB, free: 15.09 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001866/0.5471, allocations: 1.267 MB / 0.6585 GB, free: 13.84 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5471, allocations: 3.938 kB / 0.6585 GB, free: 13.83 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002419/0.5496, allocations: 0.6891 MB / 0.6591 GB, free: 13.14 MB / 478.1 MB 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.002113/0.5517, allocations: 1.853 MB / 0.661 GB, free: 11.18 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003143/0.5548, allocations: 1.955 MB / 0.6629 GB, free: 9.242 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.872e-06/0.5548, allocations: 4 kB / 0.6629 GB, free: 9.238 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006067/0.5554, allocations: 435.7 kB / 0.6633 GB, free: 8.816 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.5566, allocations: 234.6 kB / 0.6635 GB, free: 8.598 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02967/0.5863, allocations: 20.87 MB / 0.6839 GB, free: 1.203 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002711/0.589, allocations: 2.275 MB / 0.6861 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002136/0.5912, allocations: 0.9544 MB / 0.687 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001462/0.5926, allocations: 1.03 MB / 0.6881 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of SimCode: time 7.52e-07/0.5926, allocations: 0 / 0.6881 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06702/0.6596, allocations: 32.78 MB / 0.7201 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.58, allocations: 11.91 kB / 0.7201 GB, free: 12.26 MB / 0.5294 GB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3_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_CutForce3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.652224226854742] Failed to read output from testmodel.py, exit status != 0: ['time', 'cutForce.force[3]', 'cutForce.force[2]', 'cutForce.force[1]'] 12.667579086031765 12.687784039 12.484886818 Calling exit ...