Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009548/0.0009549, allocations: 96.94 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 173.5 kB / 16.58 MB, free: 5.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.4 MB / 222.8 MB, free: 5.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3145/0.3145, allocations: 43.53 MB / 314.6 MB, free: 8.762 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004776/0.0004776, allocations: 16 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.105, allocations: 58.85 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.2665/0.3715, allocations: 91.68 MB / 0.522 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03961/0.4112, allocations: 18.31 MB / 0.5399 GB, free: 9.074 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01934/0.4306, allocations: 445.6 kB / 0.5403 GB, free: 9.008 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0138/0.4444, allocations: 4.893 MB / 0.5451 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04075/0.4852, allocations: 14.36 MB / 0.5591 GB, free: 8.977 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006282/0.4915, allocations: 1.259 MB / 0.5604 GB, free: 7.719 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01382/0.5053, allocations: 9.477 MB / 0.5696 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01391/0.5193, allocations: 9.194 MB / 0.5786 GB, free: 4.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005652/0.525, allocations: 2.596 MB / 0.5811 GB, free: 2.375 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006953/0.5319, allocations: 3.871 MB / 0.5849 GB, free: 14.49 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002245/0.5342, allocations: 284 kB / 0.5852 GB, free: 14.21 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004872/0.5391, allocations: 0.9792 MB / 0.5861 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005531/0.5447, allocations: 3.37 MB / 0.5894 GB, free: 9.855 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003141/0.5478, allocations: 1.543 MB / 0.5909 GB, free: 8.301 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01109/0.559, allocations: 10.06 MB / 0.6008 GB, free: 14.21 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.559, allocations: 0 / 0.6008 GB, free: 14.21 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.559, allocations: 0 / 0.6008 GB, free: 14.21 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003427/0.5593, allocations: 4 kB / 0.6008 GB, free: 14.21 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: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.01457/0.5739, allocations: 7.748 MB / 0.6083 GB, free: 6.375 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.574, allocations: 8.031 kB / 0.6083 GB, free: 6.367 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002879/0.5769, allocations: 1.31 MB / 0.6096 GB, free: 5.047 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01085/0.5877, allocations: 2.766 MB / 0.6123 GB, free: 2.266 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01324/0.601, allocations: 6.464 MB / 0.6186 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000478/0.6015, allocations: 467.5 kB / 0.6191 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002211/0.6037, allocations: 0.5934 MB / 0.6197 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4192/1.023, allocations: 18.73 MB / 0.638 GB, free: 129.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001985/1.023, allocations: 74.06 kB / 0.638 GB, free: 129.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008424/1.024, allocations: 286.6 kB / 0.6383 GB, free: 129.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004358/1.028, allocations: 3.452 MB / 0.6417 GB, free: 129.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02753/1.056, allocations: 14.57 MB / 0.6559 GB, free: 127 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08609/1.142, allocations: 70.45 MB / 0.7247 GB, free: 76.49 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01492/1.157, allocations: 6.124 MB / 0.7307 GB, free: 70.22 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003425/1.161, allocations: 2.437 MB / 0.7331 GB, free: 67.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01579/1.176, allocations: 10.85 MB / 0.7437 GB, free: 56.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/1.176, allocations: 56.56 kB / 0.7437 GB, free: 56.49 MB / 494.1 MB Notification: Performance of pre-optimization done (n=238): time 6.041e-06/1.176, allocations: 0 / 0.7437 GB, free: 56.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.03769/1.214, allocations: 16.05 MB / 0.7594 GB, free: 40.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/1.214, allocations: 158.5 kB / 0.7595 GB, free: 40.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007865/1.222, allocations: 6.655 MB / 0.766 GB, free: 33.65 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004863/1.223, allocations: 64.36 kB / 0.7661 GB, free: 33.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002926/1.226, allocations: 5.547 MB / 0.7715 GB, free: 28.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001023/1.227, allocations: 1.012 MB / 0.7725 GB, free: 27.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003449/1.227, allocations: 181.2 kB / 0.7727 GB, free: 26.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003321/1.227, allocations: 0.6945 MB / 0.7734 GB, free: 26.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003555/1.231, allocations: 2.59 MB / 0.7759 GB, free: 23.56 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0052/1.236, allocations: 8.305 MB / 0.784 GB, free: 12.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005742/1.242, allocations: 4.456 MB / 0.7883 GB, free: 7.984 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001142/1.242, allocations: 56 kB / 0.7884 GB, free: 7.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.01947/1.261, allocations: 10.56 MB / 0.7987 GB, free: 13.37 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.000129/1.262, allocations: 92.22 kB / 0.7988 GB, free: 13.28 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002499/1.262, allocations: 208 kB / 0.799 GB, free: 13.07 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002976/1.262, allocations: 300 kB / 0.7993 GB, free: 12.78 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006921/1.269, allocations: 2.113 MB / 0.8013 GB, free: 10.66 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003785/1.27, allocations: 398.5 kB / 0.8017 GB, free: 10.27 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007215/1.277, allocations: 453.2 kB / 0.8022 GB, free: 9.832 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001741/1.279, allocations: 0.5544 MB / 0.8027 GB, free: 9.281 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * Number of states: 0 () * Number of discrete variables: 60 (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 (1139): * Single equations (assignments): 1128 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008185/1.287, allocations: 3.619 MB / 0.8062 GB, free: 5.648 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001256/1.288, allocations: 0.5745 MB / 0.8068 GB, free: 5.066 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00514/1.293, allocations: 2.799 MB / 0.8095 GB, free: 2.25 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.718e-05/1.293, allocations: 24 kB / 0.8096 GB, free: 2.227 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/1.293, allocations: 7.953 kB / 0.8096 GB, free: 2.219 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.457e-05/1.293, allocations: 11.95 kB / 0.8096 GB, free: 2.207 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2695/1.563, allocations: 26.53 MB / 0.8355 GB, free: 146.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-05/1.563, allocations: 52.59 kB / 0.8355 GB, free: 146.4 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001661/1.565, allocations: 0.5202 MB / 0.836 GB, free: 146.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.858e-05/1.565, allocations: 75.56 kB / 0.8361 GB, free: 146.3 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002044/1.565, allocations: 122.7 kB / 0.8362 GB, free: 146.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.309e-05/1.565, allocations: 107.1 kB / 0.8363 GB, free: 146.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.161e-05/1.565, allocations: 81.62 kB / 0.8364 GB, free: 146.3 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005222/1.57, allocations: 5.226 MB / 0.8415 GB, free: 143.6 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001835/1.572, allocations: 0.681 MB / 0.8422 GB, free: 143.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000724/1.573, allocations: 125.3 kB / 0.8423 GB, free: 143.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00216/1.575, allocations: 145.5 kB / 0.8424 GB, free: 143.5 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003101/1.575, allocations: 357 kB / 0.8428 GB, free: 143.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001684/1.576, allocations: 153.3 kB / 0.8429 GB, free: 143.4 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005694/1.581, allocations: 4.142 MB / 0.847 GB, free: 142.3 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.21e-07/1.581, allocations: 3.156 kB / 0.847 GB, free: 142.3 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007492/1.589, allocations: 1.492 MB / 0.8484 GB, free: 142.1 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * 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 (273): * Single equations (assignments): 270 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005866/1.595, allocations: 5.967 MB / 0.8543 GB, free: 137.8 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0111/1.606, allocations: 6.05 MB / 0.8602 GB, free: 135.8 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 4.384e-05/1.606, allocations: 8.812 kB / 0.8602 GB, free: 135.8 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.002604/1.608, allocations: 1.494 MB / 0.8616 GB, free: 135.3 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007043/1.615, allocations: 0.9059 MB / 0.8625 GB, free: 135 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1037/1.719, allocations: 61.43 MB / 0.9225 GB, free: 86.15 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008238/1.727, allocations: 5.582 MB / 0.928 GB, free: 81.93 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007625/1.735, allocations: 2.778 MB / 0.9307 GB, free: 80.15 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005617/1.741, allocations: 3.653 MB / 0.9342 GB, free: 76.76 MB / 0.5138 GB Notification: Performance of SimCode: time 1.153e-06/1.741, allocations: 4 kB / 0.9342 GB, free: 76.75 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4049/2.146, allocations: 116.8 MB / 1.048 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001391/2.146, allocations: 172.9 kB / 1.048 GB, free: 144.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.036/7.181, allocations: 1.375 kB / 1.048 GB, free: 144.3 MB / 0.5294 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat