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.001048/0.001048, allocations: 96.28 kB / 15.69 MB, free: 480 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.001079/0.001079, allocations: 178.7 kB / 16.57 MB, free: 6.387 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.578/1.578, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.4055/0.4055, allocations: 43.55 MB / 314.5 MB, free: 8.77 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.0005678/0.0005679, allocations: 15.98 kB / 384 MB, free: 7.949 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1328, allocations: 58.86 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.2984/0.4312, allocations: 86.59 MB / 0.517 GB, free: 9.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05611/0.4873, allocations: 19.2 MB / 0.5358 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02718/0.5146, allocations: 447.3 kB / 0.5362 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01902/0.5337, allocations: 4.404 MB / 0.5405 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05114/0.5848, allocations: 12.42 MB / 0.5526 GB, free: 15.42 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008363/0.5932, allocations: 1.236 MB / 0.5538 GB, free: 14.19 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01095/0.6042, allocations: 4.569 MB / 0.5583 GB, free: 9.621 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01458/0.6189, allocations: 9.122 MB / 0.5672 GB, free: 464 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005421/0.6244, allocations: 2.087 MB / 0.5692 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005611/0.63, allocations: 2.672 MB / 0.5719 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001548/0.6316, allocations: 284 kB / 0.5721 GB, free: 11.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003165/0.6348, allocations: 0.9596 MB / 0.5731 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003753/0.6386, allocations: 3.129 MB / 0.5761 GB, free: 7.305 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002641/0.6412, allocations: 1.54 MB / 0.5776 GB, free: 5.754 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01435/0.6556, allocations: 10.05 MB / 0.5874 GB, free: 11.68 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.6556, allocations: 0 / 0.5874 GB, free: 11.68 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.6556, allocations: 0 / 0.5874 GB, free: 11.68 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005526/0.6562, allocations: 4 kB / 0.5874 GB, free: 11.67 MB / 462.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.02028/0.6765, allocations: 7.939 MB / 0.5952 GB, free: 3.648 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.6766, allocations: 8.031 kB / 0.5952 GB, free: 3.641 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005376/0.682, allocations: 1.314 MB / 0.5965 GB, free: 2.316 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01416/0.6961, allocations: 3.082 MB / 0.5995 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01501/0.7112, allocations: 5.658 MB / 0.605 GB, free: 9.488 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006371/0.7119, allocations: 463.6 kB / 0.6055 GB, free: 9.035 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002792/0.7147, allocations: 0.5972 MB / 0.606 GB, free: 8.438 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0414/0.7561, allocations: 18.87 MB / 0.6245 GB, free: 4.406 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002881/0.7565, allocations: 75.34 kB / 0.6245 GB, free: 4.332 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00184/0.7583, allocations: 283.7 kB / 0.6248 GB, free: 4.055 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005444/0.7638, allocations: 3.454 MB / 0.6282 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4835/1.247, allocations: 14.75 MB / 0.6426 GB, free: 132.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1037/1.351, allocations: 70.77 MB / 0.7117 GB, free: 84.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01666/1.368, allocations: 6.136 MB / 0.7177 GB, free: 81.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01953/1.387, allocations: 10.99 MB / 0.7284 GB, free: 70.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/1.387, allocations: 60.55 kB / 0.7285 GB, free: 70.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=238): time 4.328e-06/1.387, allocations: 0 / 0.7285 GB, free: 70.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.03705/1.424, allocations: 16.42 MB / 0.7445 GB, free: 53.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/1.425, allocations: 158.5 kB / 0.7447 GB, free: 53.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007775/1.432, allocations: 7.093 MB / 0.7516 GB, free: 46.47 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004194/1.433, allocations: 65.7 kB / 0.7517 GB, free: 46.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002735/1.435, allocations: 5.544 MB / 0.7571 GB, free: 40.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00109/1.437, allocations: 1.009 MB / 0.7581 GB, free: 39.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002837/1.437, allocations: 179.4 kB / 0.7582 GB, free: 39.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000359/1.437, allocations: 0.6946 MB / 0.7589 GB, free: 38.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003583/1.441, allocations: 2.59 MB / 0.7614 GB, free: 36.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005262/1.446, allocations: 8.262 MB / 0.7695 GB, free: 25.28 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005335/1.451, allocations: 4.466 MB / 0.7739 GB, free: 20.81 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.398e-05/1.452, allocations: 60 kB / 0.7739 GB, free: 20.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.01801/1.47, allocations: 10.57 MB / 0.7842 GB, free: 10.19 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/1.47, allocations: 92 kB / 0.7843 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001872/1.47, allocations: 204 kB / 0.7845 GB, free: 9.898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002153/1.47, allocations: 296.7 kB / 0.7848 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006961/1.477, allocations: 2.113 MB / 0.7869 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002293/1.477, allocations: 402.4 kB / 0.7873 GB, free: 7.098 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006545/1.484, allocations: 459.4 kB / 0.7877 GB, free: 6.648 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/1.485, allocations: 0.5579 MB / 0.7882 GB, free: 6.094 MB / 494.1 MB 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.005707/1.491, allocations: 3.614 MB / 0.7918 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/1.492, allocations: 0.5785 MB / 0.7923 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004523/1.496, allocations: 2.784 MB / 0.795 GB, free: 15.08 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.386e-05/1.496, allocations: 28 kB / 0.7951 GB, free: 15.05 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/1.496, allocations: 0 / 0.7951 GB, free: 15.05 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.64e-05/1.497, allocations: 15.95 kB / 0.7951 GB, free: 15.04 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0428/1.539, allocations: 26.57 MB / 0.821 GB, free: 3.719 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.563e-05/1.539, allocations: 52.56 kB / 0.8211 GB, free: 3.668 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00184/1.541, allocations: 0.5185 MB / 0.8216 GB, free: 3.148 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.604e-05/1.541, allocations: 76 kB / 0.8217 GB, free: 3.074 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001887/1.542, allocations: 123.3 kB / 0.8218 GB, free: 2.957 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.517e-05/1.542, allocations: 107.6 kB / 0.8219 GB, free: 2.852 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-05/1.542, allocations: 87.62 kB / 0.822 GB, free: 2.766 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2678/1.81, allocations: 14.8 MB / 0.8364 GB, free: 137.7 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002274/1.812, allocations: 0.7011 MB / 0.8371 GB, free: 137.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001535/1.813, allocations: 128.3 kB / 0.8372 GB, free: 137.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003416/1.817, allocations: 149.2 kB / 0.8374 GB, free: 137.6 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005876/1.817, allocations: 350.5 kB / 0.8377 GB, free: 137.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002946/1.818, allocations: 149.2 kB / 0.8379 GB, free: 137.5 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.009441/1.827, allocations: 4.491 MB / 0.8422 GB, free: 137.3 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.946e-06/1.827, allocations: 0 / 0.8422 GB, free: 137.3 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01098/1.838, allocations: 1.531 MB / 0.8437 GB, free: 137.3 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.01515/1.853, allocations: 25.45 MB / 0.8686 GB, free: 113.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01174/1.865, allocations: 6.057 MB / 0.8745 GB, free: 111.7 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 5.222e-05/1.865, allocations: 13 kB / 0.8745 GB, free: 111.7 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.002962/1.868, allocations: 1.481 MB / 0.876 GB, free: 111.2 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006901/1.875, allocations: 0.8525 MB / 0.8768 GB, free: 110.9 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3471/2.222, allocations: 174.5 MB / 1.047 GB, free: 174.8 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00805/2.23, allocations: 5.741 MB / 1.053 GB, free: 173.9 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.007367/2.238, allocations: 2.792 MB / 1.056 GB, free: 173.8 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005864/2.244, allocations: 3.667 MB / 1.059 GB, free: 173.8 MB / 0.5607 GB Notification: Performance of SimCode: time 1.092e-06/2.244, allocations: 0 / 1.059 GB, free: 173.8 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.194/2.438, allocations: 116.2 MB / 1.173 GB, free: 86 MB / 0.5607 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000158/2.438, allocations: 174.5 kB / 1.173 GB, free: 85.75 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.844/8.282, allocations: 0 / 1.173 GB, free: 85.75 MB / 0.5607 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