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.001341/0.001341, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001519/0.001519, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.424/1.424, allocations: 230.5 MB / 258.2 MB, free: 7.98 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.2237/0.2237, allocations: 46.94 MB / 361.6 MB, free: 4.164 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.002344/0.002344, allocations: 79.88 kB / 0.497 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3009, allocations: 66.08 MB / 0.5615 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01845/0.3193, allocations: 15.08 MB / 0.5762 GB, free: 5.133 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01223/0.3316, allocations: 5.093 MB / 0.5812 GB, free: 24 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003479/0.3351, allocations: 139.4 kB / 0.5813 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01265/0.3477, allocations: 6.071 MB / 0.5873 GB, free: 9.797 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007761/0.3555, allocations: 2.813 MB / 0.59 GB, free: 6.973 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003453/0.3589, allocations: 1.587 MB / 0.5916 GB, free: 5.383 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0114/0.3703, allocations: 7.797 MB / 0.5992 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007357/0.3777, allocations: 5.397 MB / 0.6045 GB, free: 8.074 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005079/0.3828, allocations: 2.984 MB / 0.6074 GB, free: 5.082 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006773/0.3895, allocations: 4.097 MB / 0.6114 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001996/0.3915, allocations: 0.5703 MB / 0.6119 GB, free: 412 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003828/0.3954, allocations: 1.44 MB / 0.6133 GB, free: 14.96 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005743/0.4011, allocations: 3.615 MB / 0.6169 GB, free: 11.33 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007785/0.4089, allocations: 3.841 MB / 0.6206 GB, free: 7.469 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01733/0.4262, allocations: 11.68 MB / 0.632 GB, free: 11.74 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.4262, allocations: 0 / 0.632 GB, free: 11.74 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4262, allocations: 0 / 0.632 GB, free: 11.74 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000416/0.4266, allocations: 4 kB / 0.632 GB, free: 11.74 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.01993/0.4466, allocations: 8.649 MB / 0.6405 GB, free: 3.012 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.4466, allocations: 15.97 kB / 0.6405 GB, free: 2.996 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002235/0.4489, allocations: 1.166 MB / 0.6416 GB, free: 1.82 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/0.4593, allocations: 2.57 MB / 0.6441 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01179/0.4711, allocations: 5.317 MB / 0.6493 GB, free: 9.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004534/0.4716, allocations: 430.6 kB / 0.6497 GB, free: 9.418 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002238/0.4738, allocations: 0.5388 MB / 0.6503 GB, free: 8.879 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03504/0.5089, allocations: 16.68 MB / 0.6666 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000196/0.5091, allocations: 79.39 kB / 0.6666 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000801/0.5099, allocations: 259.8 kB / 0.6669 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004569/0.5144, allocations: 2.927 MB / 0.6697 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02892/0.5434, allocations: 12.77 MB / 0.6822 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5309/1.074, allocations: 64.11 MB / 0.7448 GB, free: 109.8 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0142/1.088, allocations: 4.896 MB / 0.7496 GB, free: 109.7 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002554/1.091, allocations: 2.001 MB / 0.7516 GB, free: 109.6 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01456/1.106, allocations: 8.129 MB / 0.7595 GB, free: 107.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/1.106, allocations: 54.75 kB / 0.7595 GB, free: 107.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 5.511e-06/1.106, allocations: 3.703 kB / 0.7595 GB, free: 107.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03256/1.138, allocations: 14.46 MB / 0.7737 GB, free: 99.64 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/1.138, allocations: 149.3 kB / 0.7738 GB, free: 99.47 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007138/1.145, allocations: 6.348 MB / 0.78 GB, free: 93.24 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002621/1.146, allocations: 61.38 kB / 0.7801 GB, free: 93.18 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002214/1.148, allocations: 5.268 MB / 0.7852 GB, free: 88.31 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005806/1.148, allocations: 0.856 MB / 0.786 GB, free: 87.47 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001544/1.15, allocations: 1.667 MB / 0.7877 GB, free: 85.79 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.913e-05/1.15, allocations: 305.1 kB / 0.788 GB, free: 85.49 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002918/1.153, allocations: 2.301 MB / 0.7902 GB, free: 83.19 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004366/1.157, allocations: 7.635 MB / 0.7977 GB, free: 73.12 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007999/1.165, allocations: 10.81 MB / 0.8082 GB, free: 59.93 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001241/1.165, allocations: 56 kB / 0.8083 GB, free: 59.88 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01415/1.18, allocations: 9.59 MB / 0.8176 GB, free: 50.29 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001709/1.18, allocations: 85.16 kB / 0.8177 GB, free: 50.21 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002436/1.18, allocations: 192 kB / 0.8179 GB, free: 50.02 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002494/1.18, allocations: 251.9 kB / 0.8182 GB, free: 49.78 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005596/1.186, allocations: 1.906 MB / 0.82 GB, free: 47.87 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002459/1.186, allocations: 378.5 kB / 0.8204 GB, free: 47.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005552/1.192, allocations: 411.2 kB / 0.8208 GB, free: 47.1 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001001/1.193, allocations: 0.5078 MB / 0.8213 GB, free: 46.59 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.005265/1.198, allocations: 3.289 MB / 0.8245 GB, free: 43.3 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009842/1.199, allocations: 0.5587 MB / 0.825 GB, free: 42.73 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/1.2, allocations: 0.6283 MB / 0.8256 GB, free: 42.1 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.182e-05/1.2, allocations: 20 kB / 0.8257 GB, free: 42.08 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/1.2, allocations: 7.938 kB / 0.8257 GB, free: 42.07 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.776e-05/1.2, allocations: 7.969 kB / 0.8257 GB, free: 42.06 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01974/1.22, allocations: 16.43 MB / 0.8417 GB, free: 25.08 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.804e-05/1.22, allocations: 40.97 kB / 0.8418 GB, free: 25.04 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/1.221, allocations: 383.2 kB / 0.8421 GB, free: 24.66 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.049e-05/1.221, allocations: 48 kB / 0.8422 GB, free: 24.62 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/1.221, allocations: 95.66 kB / 0.8423 GB, free: 24.53 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.157e-05/1.221, allocations: 71.72 kB / 0.8423 GB, free: 24.46 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-05/1.221, allocations: 59.75 kB / 0.8424 GB, free: 24.4 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003251/1.225, allocations: 3.973 MB / 0.8463 GB, free: 19.87 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/1.226, allocations: 0.5585 MB / 0.8468 GB, free: 19.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005488/1.226, allocations: 87.97 kB / 0.8469 GB, free: 19.22 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/1.228, allocations: 103.9 kB / 0.847 GB, free: 19.12 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002443/1.228, allocations: 266.7 kB / 0.8472 GB, free: 18.86 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/1.228, allocations: 104 kB / 0.8473 GB, free: 18.75 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005203/1.234, allocations: 3.952 MB / 0.8512 GB, free: 14.81 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.1e-07/1.234, allocations: 3.938 kB / 0.8512 GB, free: 14.81 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006412/1.24, allocations: 1.304 MB / 0.8525 GB, free: 13.51 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.003737/1.244, allocations: 4.687 MB / 0.8571 GB, free: 8.273 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.006769/1.25, allocations: 5.166 MB / 0.8621 GB, free: 3.152 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.48e-05/1.25, allocations: 8 kB / 0.8621 GB, free: 3.145 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001336/1.252, allocations: 1.086 MB / 0.8632 GB, free: 2.066 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004874/1.257, allocations: 0.852 MB / 0.864 GB, free: 1.234 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1096/1.366, allocations: 65.17 MB / 0.9276 GB, free: 6.961 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008975/1.375, allocations: 5.059 MB / 0.9326 GB, free: 1.863 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.006787/1.382, allocations: 2.514 MB / 0.935 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005226/1.387, allocations: 3.28 MB / 0.9382 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of SimCode: time 1.203e-06/1.387, allocations: 0 / 0.9382 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4122/1.8, allocations: 98.52 MB / 1.034 GB, free: 251.3 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.87/32.67, allocations: 0.7031 kB / 1.034 GB, free: 251.3 MB / 0.7013 GB " [Timeout remaining time 627] (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: 35.598794052843004] 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]'] 32.807547696866095 32.826103624 32.396000217 Calling exit ...