Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.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.001398/0.001398, allocations: 106.5 kB / 19.74 MB, free: 2.566 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.001514/0.001514, allocations: 223 kB / 22.92 MB, free: 5.535 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.284/1.284, allocations: 230.2 MB / 256.2 MB, free: 8.773 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.1998/0.1998, allocations: 46.89 MB / 359.3 MB, free: 5.012 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.CutForce2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce2",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.002121/0.002121, allocations: 79.86 kB / 0.494 GB, free: 9.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2537, allocations: 65.98 MB / 0.5584 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01052/0.2642, allocations: 9.596 MB / 0.5678 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004862/0.269, allocations: 2.959 MB / 0.5707 GB, free: 8.641 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005038/0.2695, allocations: 51.88 kB / 0.5707 GB, free: 8.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003475/0.273, allocations: 2.013 MB / 0.5727 GB, free: 6.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.275, allocations: 1.133 MB / 0.5738 GB, free: 5.434 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005619/0.2756, allocations: 287.3 kB / 0.5741 GB, free: 5.152 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002691/0.2783, allocations: 2.333 MB / 0.5763 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001786/0.28, allocations: 1.621 MB / 0.5779 GB, free: 1.148 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008336/0.2809, allocations: 0.8683 MB / 0.5788 GB, free: 284 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.2823, allocations: 1.254 MB / 0.58 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002757/0.2826, allocations: 196 kB / 0.5802 GB, free: 14.83 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.2837, allocations: 0.7255 MB / 0.5809 GB, free: 14.1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009566/0.2846, allocations: 1.137 MB / 0.582 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001102/0.2857, allocations: 1.308 MB / 0.5833 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003934/0.2896, allocations: 4.33 MB / 0.5875 GB, free: 7.297 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2897, allocations: 7.984 kB / 0.5875 GB, free: 7.289 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2897, allocations: 0 / 0.5875 GB, free: 7.289 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.967e-05/0.2897, allocations: 0 / 0.5875 GB, free: 7.289 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.004008/0.2937, allocations: 2.942 MB / 0.5904 GB, free: 4.285 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2937, allocations: 8.031 kB / 0.5904 GB, free: 4.277 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005053/0.2942, allocations: 479.1 kB / 0.5908 GB, free: 3.801 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004795/0.299, allocations: 1.578 MB / 0.5924 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001906/0.3009, allocations: 1.344 MB / 0.5937 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.301, allocations: 147.8 kB / 0.5938 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003001/0.3013, allocations: 187.9 kB / 0.594 GB, free: 0.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007991/0.3093, allocations: 6.246 MB / 0.6001 GB, free: 9.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.166e-05/0.3094, allocations: 11.88 kB / 0.6001 GB, free: 9.969 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002349/0.3096, allocations: 87.91 kB / 0.6002 GB, free: 9.883 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001974/0.3116, allocations: 1.348 MB / 0.6015 GB, free: 8.531 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008297/0.3199, allocations: 5.33 MB / 0.6067 GB, free: 3.176 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0222/0.3421, allocations: 20.05 MB / 0.6263 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003902/0.346, allocations: 2.012 MB / 0.6283 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008661/0.3468, allocations: 0.6432 MB / 0.6289 GB, free: 11.78 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005175/0.352, allocations: 3.484 MB / 0.6323 GB, free: 8.152 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.3521, allocations: 46.94 kB / 0.6324 GB, free: 8.098 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 1.993e-06/0.3521, allocations: 0 / 0.6324 GB, free: 8.098 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.004903/0.357, allocations: 1.975 MB / 0.6343 GB, free: 6.113 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.357, allocations: 59.84 kB / 0.6343 GB, free: 6.043 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002275/0.3593, allocations: 1.946 MB / 0.6362 GB, free: 4.094 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/0.3593, allocations: 41.62 kB / 0.6363 GB, free: 4.047 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001271/0.3606, allocations: 1.911 MB / 0.6381 GB, free: 2.113 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002597/0.3609, allocations: 329.5 kB / 0.6385 GB, free: 1.789 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007178/0.3616, allocations: 0.6234 MB / 0.6391 GB, free: 1.156 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3617, allocations: 357.9 kB / 0.6394 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.3629, allocations: 0.8842 MB / 0.6403 GB, free: 15.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002662/0.3656, allocations: 2.751 MB / 0.643 GB, free: 12.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004266/0.3699, allocations: 3.962 MB / 0.6468 GB, free: 7.348 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.687e-05/0.3699, allocations: 20 kB / 0.6468 GB, free: 7.328 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004902/0.3748, allocations: 3.542 MB / 0.6503 GB, free: 3.781 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.814e-05/0.3748, allocations: 36 kB / 0.6503 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.738e-05/0.3749, allocations: 64 kB / 0.6504 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.31e-05/0.375, allocations: 88 kB / 0.6505 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/0.3767, allocations: 0.6589 MB / 0.6511 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001012/0.3768, allocations: 135.5 kB / 0.6513 GB, free: 2.805 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.3783, allocations: 428.9 kB / 0.6517 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/0.3785, allocations: 191.9 kB / 0.6519 GB, free: 2.195 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.001636/0.3801, allocations: 1.338 MB / 0.6532 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.3803, allocations: 162.9 kB / 0.6533 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000329/0.3806, allocations: 196.9 kB / 0.6535 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.3806, allocations: 11.94 kB / 0.6535 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.3807, allocations: 0 / 0.6535 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.3807, allocations: 3.984 kB / 0.6535 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005625/0.3863, allocations: 4.073 MB / 0.6575 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.3863, allocations: 4 kB / 0.6575 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003613/0.3867, allocations: 99.81 kB / 0.6576 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/0.3867, allocations: 8 kB / 0.6576 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/0.3867, allocations: 28.59 kB / 0.6576 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.929e-06/0.3867, allocations: 11.94 kB / 0.6576 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/0.3867, allocations: 15.94 kB / 0.6577 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.3882, allocations: 1.239 MB / 0.6589 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002724/0.3884, allocations: 255.7 kB / 0.6591 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.3886, allocations: 23.92 kB / 0.6591 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004455/0.389, allocations: 31.97 kB / 0.6592 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.969e-05/0.3891, allocations: 47.83 kB / 0.6592 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.242e-05/0.3891, allocations: 31.98 kB / 0.6592 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001559/0.3907, allocations: 1.271 MB / 0.6605 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.3907, allocations: 0 / 0.6605 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002063/0.3928, allocations: 0.6813 MB / 0.6611 GB, free: 8.414 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.001873/0.3946, allocations: 1.86 MB / 0.663 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002553/0.3972, allocations: 1.96 MB / 0.6649 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3972, allocations: 4.25 kB / 0.6649 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005252/0.3977, allocations: 427.9 kB / 0.6653 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.3987, allocations: 234.8 kB / 0.6655 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02502/0.4238, allocations: 20.88 MB / 0.6859 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002303/0.4261, allocations: 2.267 MB / 0.6881 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001902/0.428, allocations: 0.9518 MB / 0.689 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001243/0.4292, allocations: 1.034 MB / 0.6901 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of SimCode: time 1.002e-06/0.4292, allocations: 0 / 0.6901 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06117/0.4904, allocations: 32.9 MB / 0.7222 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.93, allocations: 3.938 kB / 0.7222 GB, free: 7.367 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.51589382700331]