Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009685/0.0009685, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.22/1.22, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008674/0.0008675, allocations: 92.45 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1758/0.1758, allocations: 45.15 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.626e-05/2.629e-05, allocations: 5.875 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08631/0.08635, allocations: 63.24 MB / 0.5115 GB, free: 6.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3515/0.4379, allocations: 106.8 MB / 0.6158 GB, free: 3.23 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/0.4381, allocations: 74.97 kB / 0.6158 GB, free: 3.195 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6209/1.059, allocations: 157.4 MB / 0.7696 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.366e-06/1.059, allocations: 1.344 kB / 0.7696 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005914/1.06, allocations: 149 kB / 0.7697 GB, free: 105.8 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.02345/1.083, allocations: 7.366 MB / 0.7769 GB, free: 103 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/1.083, allocations: 14.5 kB / 0.777 GB, free: 103 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004386/1.088, allocations: 1.296 MB / 0.7782 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01701/1.105, allocations: 3.529 MB / 0.7817 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01613/1.121, allocations: 7.876 MB / 0.7894 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004934/1.121, allocations: 0.5615 MB / 0.7899 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002741/1.124, allocations: 0.739 MB / 0.7906 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03077/1.155, allocations: 17.51 MB / 0.8077 GB, free: 97.53 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003381/1.155, allocations: 90.56 kB / 0.8078 GB, free: 97.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001819/1.157, allocations: 355.6 kB / 0.8082 GB, free: 97.52 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002018/1.159, allocations: 1.631 MB / 0.8097 GB, free: 97.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02212/1.181, allocations: 13.39 MB / 0.8228 GB, free: 96.13 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06725/1.248, allocations: 74.59 MB / 0.8957 GB, free: 39.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01301/1.262, allocations: 5.446 MB / 0.901 GB, free: 34.55 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002127/1.264, allocations: 2.071 MB / 0.903 GB, free: 32.71 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01217/1.276, allocations: 9.975 MB / 0.9127 GB, free: 23.98 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/1.276, allocations: 51.88 kB / 0.9128 GB, free: 23.92 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=182): time 3.697e-06/1.276, allocations: 0 / 0.9128 GB, free: 23.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=206): time 0.02953/1.305, allocations: 13.37 MB / 0.9258 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/1.306, allocations: 149.4 kB / 0.926 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005772/1.311, allocations: 5.509 MB / 0.9314 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001184/1.311, allocations: 61.7 kB / 0.9314 GB, free: 7.418 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001981/1.313, allocations: 5.3 MB / 0.9366 GB, free: 2.672 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004285/1.314, allocations: 0.823 MB / 0.9374 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002298/1.314, allocations: 160 kB / 0.9376 GB, free: 1.801 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002737/1.314, allocations: 0.6442 MB / 0.9382 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005334/1.32, allocations: 2.34 MB / 0.9405 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006101/1.326, allocations: 7.402 MB / 0.9477 GB, free: 5.855 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004818/1.331, allocations: 3.88 MB / 0.9515 GB, free: 1.973 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.881e-05/1.331, allocations: 55.94 kB / 0.9515 GB, free: 1.918 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.2926/1.623, allocations: 9.146 MB / 0.9605 GB, free: 106 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001746/1.624, allocations: 87.75 kB / 0.9606 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003656/1.624, allocations: 193.8 kB / 0.9607 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004269/1.624, allocations: 276.5 kB / 0.961 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007031/1.631, allocations: 1.993 MB / 0.963 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004329/1.632, allocations: 372.2 kB / 0.9633 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00749/1.639, allocations: 0.5721 MB / 0.9639 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001736/1.641, allocations: 0.4986 MB / 0.9644 GB, free: 106 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * Number of states: 0 () * Number of discrete variables: 68 (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.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1031): * Single equations (assignments): 1028 * 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 prepare postOptimizeDAE: time 0.001319/1.642, allocations: 0.7654 MB / 0.9651 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/1.644, allocations: 0.5396 MB / 0.9656 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00163/1.645, allocations: 0.6468 MB / 0.9663 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.784e-05/1.645, allocations: 25.66 kB / 0.9663 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.775e-05/1.645, allocations: 1.094 kB / 0.9663 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.208e-05/1.645, allocations: 10.02 kB / 0.9663 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02321/1.669, allocations: 16.65 MB / 0.9826 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.692e-05/1.669, allocations: 36.78 kB / 0.9826 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/1.67, allocations: 379 kB / 0.983 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.976e-05/1.67, allocations: 55.53 kB / 0.983 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/1.67, allocations: 84.19 kB / 0.9831 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.574e-05/1.67, allocations: 77.48 kB / 0.9832 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.348e-05/1.67, allocations: 59.53 kB / 0.9832 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004526/1.675, allocations: 10.37 MB / 0.9933 GB, free: 94.52 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/1.676, allocations: 0.6236 MB / 0.994 GB, free: 94.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000466/1.676, allocations: 85.8 kB / 0.994 GB, free: 94.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001939/1.678, allocations: 167.4 kB / 0.9942 GB, free: 94.13 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/1.678, allocations: 250.8 kB / 0.9944 GB, free: 94.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/1.678, allocations: 111.5 kB / 0.9945 GB, free: 94.07 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.006093/1.684, allocations: 3.855 MB / 0.9983 GB, free: 93.82 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.72e-07/1.685, allocations: 3.938 kB / 0.9983 GB, free: 93.82 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007666/1.692, allocations: 1.357 MB / 0.9996 GB, free: 93.82 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 171 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 195 * 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.006327/1.699, allocations: 18.25 MB / 1.017 GB, free: 77.05 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007053/1.706, allocations: 5.025 MB / 1.022 GB, free: 76.48 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-05/1.706, allocations: 7.719 kB / 1.022 GB, free: 76.48 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/1.707, allocations: 1.108 MB / 1.023 GB, free: 76.36 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00359/1.71, allocations: 0.8214 MB / 1.024 GB, free: 76.34 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0227/1.733, allocations: 14.8 MB / 1.039 GB, free: 71.54 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004729/1.738, allocations: 5.382 MB / 1.044 GB, free: 69.83 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005794/1.744, allocations: 2.562 MB / 1.046 GB, free: 69.77 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002871/1.747, allocations: 3.419 MB / 1.05 GB, free: 66.91 MB / 0.5417 GB Notification: Performance of SimCode: time 9.12e-07/1.747, allocations: 0 / 1.05 GB, free: 66.91 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1353/1.882, allocations: 108.5 MB / 1.156 GB, free: 1.285 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/1.882, allocations: 140.8 kB / 1.156 GB, free: 1.066 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.803/6.685, allocations: 0 / 1.156 GB, free: 1.066 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat