Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce.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.001412/0.001412, allocations: 105.5 kB / 19.74 MB, free: 2.453 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.001549/0.001549, allocations: 221.4 kB / 22.92 MB, free: 5.195 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.298/1.298, allocations: 230.2 MB / 256.2 MB, free: 8.637 MB / 206.1 MB " [Timeout remaining time 179] 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.2014/0.2014, allocations: 46.89 MB / 359.3 MB, free: 5.008 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.CutForce,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce",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.002173/0.002173, allocations: 87.84 kB / 0.494 GB, free: 9.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2491, allocations: 65.99 MB / 0.5584 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01538/0.2645, allocations: 15.08 MB / 0.5731 GB, free: 6.121 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008859/0.2734, allocations: 5.089 MB / 0.5781 GB, free: 1.016 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.2745, allocations: 123.6 kB / 0.5782 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00932/0.2838, allocations: 6.056 MB / 0.5841 GB, free: 10.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004986/0.2888, allocations: 2.809 MB / 0.5869 GB, free: 8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00261/0.2914, allocations: 1.579 MB / 0.5884 GB, free: 6.418 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008734/0.3001, allocations: 7.789 MB / 0.596 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005571/0.3057, allocations: 5.115 MB / 0.601 GB, free: 9.398 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003709/0.3094, allocations: 2.956 MB / 0.6039 GB, free: 6.434 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004799/0.3142, allocations: 4.089 MB / 0.6079 GB, free: 2.332 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008968/0.3151, allocations: 0.5703 MB / 0.6085 GB, free: 1.762 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002236/0.3173, allocations: 1.428 MB / 0.6099 GB, free: 340 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003036/0.3203, allocations: 3.627 MB / 0.6134 GB, free: 12.69 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003512/0.3239, allocations: 3.841 MB / 0.6171 GB, free: 8.828 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01118/0.335, allocations: 11.67 MB / 0.6285 GB, free: 13.11 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.335, allocations: 0 / 0.6285 GB, free: 13.11 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.335, allocations: 0 / 0.6285 GB, free: 13.11 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001624/0.3352, allocations: 4 kB / 0.6286 GB, free: 13.11 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.01353/0.3487, allocations: 8.728 MB / 0.6371 GB, free: 4.281 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.3488, allocations: 8.031 kB / 0.6371 GB, free: 4.273 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001335/0.3501, allocations: 1.17 MB / 0.6382 GB, free: 3.094 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009117/0.3592, allocations: 2.562 MB / 0.6407 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008243/0.3675, allocations: 5.432 MB / 0.646 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003176/0.3678, allocations: 426.6 kB / 0.6464 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000831/0.3686, allocations: 0.5388 MB / 0.647 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02447/0.3931, allocations: 16.68 MB / 0.6633 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000163/0.3932, allocations: 71.34 kB / 0.6633 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006324/0.3939, allocations: 267.8 kB / 0.6636 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004074/0.3979, allocations: 2.927 MB / 0.6664 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02364/0.4216, allocations: 12.79 MB / 0.6789 GB, free: 8.188 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4665/0.8881, allocations: 64.09 MB / 0.7415 GB, free: 110.6 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01269/0.9008, allocations: 5.338 MB / 0.7467 GB, free: 109.9 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001942/0.9027, allocations: 2.002 MB / 0.7487 GB, free: 109.8 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01045/0.9132, allocations: 9.944 MB / 0.7584 GB, free: 105.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.9132, allocations: 50.72 kB / 0.7584 GB, free: 105.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 3.427e-06/0.9132, allocations: 0 / 0.7584 GB, free: 105.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.02768/0.9409, allocations: 14.47 MB / 0.7726 GB, free: 97.92 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.9409, allocations: 153.4 kB / 0.7727 GB, free: 97.74 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005573/0.9465, allocations: 6.333 MB / 0.7789 GB, free: 91.53 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-05/0.9466, allocations: 61.61 kB / 0.779 GB, free: 91.46 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001729/0.9483, allocations: 5.273 MB / 0.7841 GB, free: 86.6 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003823/0.9487, allocations: 0.8554 MB / 0.7849 GB, free: 85.76 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0012/0.9499, allocations: 1.671 MB / 0.7866 GB, free: 84.08 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.191e-05/0.9499, allocations: 301.1 kB / 0.7869 GB, free: 83.78 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002389/0.9523, allocations: 2.296 MB / 0.7891 GB, free: 81.48 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003638/0.956, allocations: 7.63 MB / 0.7966 GB, free: 71.41 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006483/0.9625, allocations: 10.81 MB / 0.8071 GB, free: 58.27 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-05/0.9625, allocations: 56 kB / 0.8072 GB, free: 58.21 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.009963/0.9725, allocations: 9.597 MB / 0.8165 GB, free: 48.62 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 6.936e-05/0.9726, allocations: 87.94 kB / 0.8166 GB, free: 48.53 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001039/0.9727, allocations: 192 kB / 0.8168 GB, free: 48.34 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001371/0.9728, allocations: 248.8 kB / 0.817 GB, free: 48.1 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004179/0.977, allocations: 1.908 MB / 0.8189 GB, free: 46.19 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000148/0.9771, allocations: 366.6 kB / 0.8193 GB, free: 45.83 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004146/0.9813, allocations: 411.4 kB / 0.8197 GB, free: 45.43 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003788/0.9816, allocations: 0.5151 MB / 0.8202 GB, free: 44.92 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1027): * Single equations (assignments): 1016 * Array equations: 11 * 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.002917/0.9846, allocations: 3.287 MB / 0.8234 GB, free: 41.62 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005226/0.9851, allocations: 0.5626 MB / 0.8239 GB, free: 41.06 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007863/0.9859, allocations: 0.6244 MB / 0.8245 GB, free: 40.43 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/0.9859, allocations: 24 kB / 0.8245 GB, free: 40.4 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.9859, allocations: 0 / 0.8245 GB, free: 40.4 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.9859, allocations: 15.95 kB / 0.8246 GB, free: 40.39 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01481/1.001, allocations: 16.46 MB / 0.8406 GB, free: 23.37 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.883e-05/1.001, allocations: 40.47 kB / 0.8407 GB, free: 23.33 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/1.002, allocations: 379.3 kB / 0.841 GB, free: 22.96 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.73e-05/1.002, allocations: 52.75 kB / 0.8411 GB, free: 22.91 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/1.002, allocations: 83.98 kB / 0.8412 GB, free: 22.82 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.96e-05/1.002, allocations: 79.66 kB / 0.8412 GB, free: 22.75 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-05/1.002, allocations: 63.69 kB / 0.8413 GB, free: 22.68 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002711/1.005, allocations: 3.975 MB / 0.8452 GB, free: 18.16 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006774/1.005, allocations: 0.6338 MB / 0.8458 GB, free: 17.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003933/1.006, allocations: 87.97 kB / 0.8459 GB, free: 17.41 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/1.007, allocations: 99.94 kB / 0.846 GB, free: 17.32 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/1.007, allocations: 262.8 kB / 0.8462 GB, free: 17.06 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.967e-05/1.008, allocations: 115.5 kB / 0.8463 GB, free: 16.95 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.003761/1.011, allocations: 3.952 MB / 0.8502 GB, free: 13.01 MB / 0.5607 GB Notification: Performance of sort global known variables: time 8.1e-08/1.011, allocations: 3.938 kB / 0.8502 GB, free: 13 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.004874/1.016, allocations: 1.297 MB / 0.8515 GB, free: 11.71 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.002806/1.019, allocations: 4.683 MB / 0.856 GB, free: 6.469 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.005511/1.024, allocations: 5.173 MB / 0.8611 GB, free: 1.352 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/1.024, allocations: 4 kB / 0.8611 GB, free: 1.348 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.0009482/1.025, allocations: 1.087 MB / 0.8622 GB, free: 276 kB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003709/1.029, allocations: 0.8532 MB / 0.863 GB, free: 15.43 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09092/1.12, allocations: 65.17 MB / 0.9266 GB, free: 5.156 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007058/1.127, allocations: 5.055 MB / 0.9316 GB, free: 68 kB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.005495/1.133, allocations: 2.518 MB / 0.934 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004037/1.137, allocations: 3.284 MB / 0.9372 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of SimCode: time 8.02e-07/1.137, allocations: 0 / 0.9372 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3412/1.478, allocations: 92.62 MB / 1.028 GB, free: 256.2 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.39/23.87, allocations: 0 / 1.028 GB, free: 256.2 MB / 0.7013 GB " [Timeout remaining time 636] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce_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_CutForce.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.46363238300546]