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.001441/0.001441, allocations: 109.5 kB / 20.18 MB, free: 1.961 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.001563/0.001563, allocations: 209.1 kB / 23.44 MB, free: 5.086 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.445/1.445, allocations: 230.2 MB / 256.8 MB, free: 8.598 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.2262/0.2262, allocations: 46.87 MB / 360 MB, free: 4.77 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.002352/0.002352, allocations: 75.88 kB / 0.495 GB, free: 8.582 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2878, allocations: 65.99 MB / 0.5594 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01699/0.3048, allocations: 15.07 MB / 0.5742 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01112/0.316, allocations: 5.1 MB / 0.5791 GB, free: 0.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002536/0.3185, allocations: 115.7 kB / 0.5793 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01171/0.3302, allocations: 6.063 MB / 0.5852 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00745/0.3377, allocations: 2.805 MB / 0.5879 GB, free: 7.738 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004119/0.3418, allocations: 1.591 MB / 0.5895 GB, free: 6.145 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0127/0.3545, allocations: 7.789 MB / 0.5971 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007879/0.3624, allocations: 5.115 MB / 0.6021 GB, free: 9.129 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004942/0.3673, allocations: 2.956 MB / 0.605 GB, free: 6.164 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006472/0.3738, allocations: 4.093 MB / 0.609 GB, free: 2.059 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001944/0.3757, allocations: 0.5703 MB / 0.6095 GB, free: 1.488 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003619/0.3793, allocations: 1.432 MB / 0.6109 GB, free: 56 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004946/0.3843, allocations: 3.607 MB / 0.6144 GB, free: 12.43 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006646/0.3909, allocations: 3.852 MB / 0.6182 GB, free: 8.559 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01562/0.4065, allocations: 11.67 MB / 0.6296 GB, free: 12.84 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.4065, allocations: 0 / 0.6296 GB, free: 12.84 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4065, allocations: 0 / 0.6296 GB, free: 12.84 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004351/0.407, allocations: 0 / 0.6296 GB, free: 12.84 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.01959/0.4266, allocations: 8.728 MB / 0.6381 GB, free: 4.016 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.4266, allocations: 13.11 kB / 0.6381 GB, free: 4.004 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002914/0.4295, allocations: 1.17 MB / 0.6393 GB, free: 2.824 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01078/0.4403, allocations: 2.566 MB / 0.6418 GB, free: 256 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01153/0.4518, allocations: 5.428 MB / 0.6471 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004715/0.4523, allocations: 426.6 kB / 0.6475 GB, free: 10.33 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002043/0.4544, allocations: 0.5388 MB / 0.648 GB, free: 9.789 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03414/0.4885, allocations: 16.67 MB / 0.6643 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002528/0.4888, allocations: 75.39 kB / 0.6644 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001255/0.49, allocations: 259.8 kB / 0.6646 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004588/0.4946, allocations: 2.931 MB / 0.6675 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02975/0.5243, allocations: 12.79 MB / 0.68 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.556/1.08, allocations: 64.09 MB / 0.7426 GB, free: 110.4 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01416/1.094, allocations: 5.339 MB / 0.7478 GB, free: 109.7 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002548/1.097, allocations: 1.998 MB / 0.7497 GB, free: 109.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0143/1.111, allocations: 9.95 MB / 0.7594 GB, free: 105.6 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/1.111, allocations: 53.03 kB / 0.7595 GB, free: 105.5 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 5.46e-06/1.111, allocations: 3.719 kB / 0.7595 GB, free: 105.5 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.035/1.146, allocations: 14.46 MB / 0.7736 GB, free: 97.68 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/1.146, allocations: 157.8 kB / 0.7738 GB, free: 97.5 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008872/1.155, allocations: 6.333 MB / 0.7799 GB, free: 91.28 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002739/1.156, allocations: 61.38 kB / 0.78 GB, free: 91.22 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002614/1.158, allocations: 5.269 MB / 0.7852 GB, free: 86.35 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006964/1.159, allocations: 0.8581 MB / 0.786 GB, free: 85.5 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002349/1.161, allocations: 1.67 MB / 0.7876 GB, free: 83.83 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.481e-05/1.161, allocations: 309.1 kB / 0.7879 GB, free: 83.53 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002997/1.164, allocations: 2.295 MB / 0.7902 GB, free: 81.23 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005037/1.169, allocations: 7.637 MB / 0.7976 GB, free: 71.16 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008103/1.177, allocations: 10.8 MB / 0.8082 GB, free: 58 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001371/1.178, allocations: 56 kB / 0.8082 GB, free: 57.95 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.0148/1.192, allocations: 9.597 MB / 0.8176 GB, free: 48.35 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/1.192, allocations: 88.19 kB / 0.8177 GB, free: 48.27 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002154/1.193, allocations: 196 kB / 0.8179 GB, free: 48.07 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001664/1.193, allocations: 248 kB / 0.8181 GB, free: 47.83 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005266/1.198, allocations: 1.899 MB / 0.82 GB, free: 45.93 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001883/1.198, allocations: 370.6 kB / 0.8203 GB, free: 45.57 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005339/1.204, allocations: 415 kB / 0.8207 GB, free: 45.16 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008958/1.205, allocations: 0.5145 MB / 0.8212 GB, free: 44.66 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.004208/1.209, allocations: 3.288 MB / 0.8244 GB, free: 41.35 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007858/1.21, allocations: 0.5614 MB / 0.825 GB, free: 40.79 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/1.211, allocations: 0.6205 MB / 0.8256 GB, free: 40.16 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.831e-05/1.211, allocations: 27.98 kB / 0.8256 GB, free: 40.13 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/1.211, allocations: 0 / 0.8256 GB, free: 40.13 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/1.211, allocations: 7.969 kB / 0.8256 GB, free: 40.12 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01975/1.231, allocations: 16.46 MB / 0.8417 GB, free: 23.11 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.155e-05/1.231, allocations: 40.19 kB / 0.8417 GB, free: 23.07 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/1.232, allocations: 383.3 kB / 0.8421 GB, free: 22.7 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.671e-05/1.232, allocations: 51.94 kB / 0.8421 GB, free: 22.64 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/1.232, allocations: 87.94 kB / 0.8422 GB, free: 22.56 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.943e-05/1.232, allocations: 71.72 kB / 0.8423 GB, free: 22.49 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.639e-05/1.232, allocations: 60.62 kB / 0.8423 GB, free: 22.43 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003788/1.236, allocations: 3.973 MB / 0.8462 GB, free: 17.9 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001416/1.237, allocations: 0.6377 MB / 0.8468 GB, free: 17.24 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008878/1.238, allocations: 91.91 kB / 0.8469 GB, free: 17.15 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002353/1.24, allocations: 103.9 kB / 0.847 GB, free: 17.05 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003491/1.241, allocations: 258.8 kB / 0.8473 GB, free: 16.8 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/1.241, allocations: 104 kB / 0.8474 GB, free: 16.7 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006101/1.247, allocations: 3.952 MB / 0.8512 GB, free: 12.75 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.9e-07/1.247, allocations: 0 / 0.8512 GB, free: 12.75 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007106/1.254, allocations: 1.304 MB / 0.8525 GB, free: 11.45 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.004446/1.259, allocations: 4.7 MB / 0.8571 GB, free: 6.207 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.007159/1.266, allocations: 5.166 MB / 0.8621 GB, free: 1.09 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 3.047e-05/1.266, allocations: 12.12 kB / 0.8622 GB, free: 1.078 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001447/1.267, allocations: 1.078 MB / 0.8632 GB, free: 8 kB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007146/1.274, allocations: 0.8506 MB / 0.864 GB, free: 15.17 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1181/1.392, allocations: 65.16 MB / 0.9277 GB, free: 4.898 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01069/1.403, allocations: 5.056 MB / 0.9326 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006741/1.41, allocations: 2.518 MB / 0.9351 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005343/1.415, allocations: 3.28 MB / 0.9383 GB, free: 10 MB / 0.6544 GB Notification: Performance of SimCode: time 1.132e-06/1.415, allocations: 4 kB / 0.9383 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4/1.815, allocations: 92.61 MB / 1.029 GB, free: 255.5 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.9/39.72, allocations: 5.641 kB / 1.029 GB, free: 255.5 MB / 0.7013 GB " [Timeout remaining time 620] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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: 42.61099757498596] Failed to read output from testmodel.py, exit status != 0: ['time', 'cutForce1a.force[3]', 'cutForce2a.force[3]', 'cutForce2b.force[3]', 'cutForce1a.force[2]', 'cutForce2a.force[2]', 'cutForce2b.force[2]', 'cutForce1a.force[1]', 'cutForce2a.force[1]', 'cutForce2b.force[1]'] 39.85418088803999 39.864074202 39.454852136 Calling exit ...