Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009942/0.0009942, allocations: 180.9 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.267/1.267, allocations: 205.4 MB / 223.1 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008398/0.0008402, allocations: 99.89 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002538/0.0002538, allocations: 8 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2556, allocations: 47.57 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1089/0.3645, allocations: 93.3 MB / 469.2 MB, free: 3.312 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.3648, allocations: 91.94 kB / 469.3 MB, free: 3.223 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3373/0.7021, allocations: 66.58 MB / 0.5233 GB, free: 92.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.7022, allocations: 0 / 0.5233 GB, free: 92.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001788/0.7024, allocations: 63.81 kB / 0.5234 GB, free: 92.94 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1143 * Number of variables: 1143 Notification: Performance of Generate backend data structure: time 0.00956/0.712, allocations: 3.35 MB / 0.5267 GB, free: 90.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.712, allocations: 8.031 kB / 0.5267 GB, free: 90.41 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002052/0.7141, allocations: 0.5801 MB / 0.5272 GB, free: 89.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007494/0.7216, allocations: 1.901 MB / 0.5291 GB, free: 87.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005826/0.7275, allocations: 2 MB / 0.531 GB, free: 85.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002753/0.7278, allocations: 232.4 kB / 0.5313 GB, free: 85.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001638/0.7294, allocations: 310.2 kB / 0.5316 GB, free: 85.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01223/0.7417, allocations: 7.455 MB / 0.5388 GB, free: 77.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000127/0.7419, allocations: 47.53 kB / 0.5389 GB, free: 77.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008484/0.7427, allocations: 152.3 kB / 0.539 GB, free: 76.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007969/0.7435, allocations: 0.7498 MB / 0.5398 GB, free: 76.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008552/0.7521, allocations: 5.697 MB / 0.5453 GB, free: 70.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02823/0.7804, allocations: 35.31 MB / 0.5798 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002528/0.7829, allocations: 1.678 MB / 0.5814 GB, free: 32.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003829/0.7868, allocations: 2.906 MB / 0.5843 GB, free: 29.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.7869, allocations: 46.48 kB / 0.5843 GB, free: 29.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=83): time 3.797e-06/0.7869, allocations: 4 kB / 0.5843 GB, free: 29.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=83): time 0.004122/0.791, allocations: 2.051 MB / 0.5863 GB, free: 27.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.7911, allocations: 225.6 kB / 0.5866 GB, free: 26.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006253/0.7973, allocations: 3.321 MB / 0.5898 GB, free: 23.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.7975, allocations: 33.7 kB / 0.5898 GB, free: 23.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00176/0.7993, allocations: 2.697 MB / 0.5925 GB, free: 20.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004216/0.7997, allocations: 375.7 kB / 0.5928 GB, free: 20.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003653/0.8001, allocations: 96 kB / 0.5929 GB, free: 20.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000346/0.8004, allocations: 0.5005 MB / 0.5934 GB, free: 19.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00182/0.8023, allocations: 1.219 MB / 0.5946 GB, free: 18.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002916/0.8052, allocations: 4.563 MB / 0.599 GB, free: 12.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002855/0.8081, allocations: 2.323 MB / 0.6013 GB, free: 9.867 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.68e-05/0.8082, allocations: 36 kB / 0.6014 GB, free: 9.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.009167/0.8173, allocations: 5.497 MB / 0.6067 GB, free: 4.332 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.8175, allocations: 63.94 kB / 0.6068 GB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001704/0.8177, allocations: 120 kB / 0.6069 GB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001614/0.8179, allocations: 172 kB / 0.6071 GB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003526/0.8214, allocations: 1.138 MB / 0.6082 GB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001546/0.8216, allocations: 231.1 kB / 0.6084 GB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004189/0.8258, allocations: 0.7078 MB / 0.6091 GB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008441/0.8267, allocations: 348 kB / 0.6094 GB, free: 1.562 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 551 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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 (596): * Single equations (assignments): 593 * 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.003285/0.83, allocations: 1.716 MB / 0.6111 GB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006604/0.8306, allocations: 300.5 kB / 0.6114 GB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.8319, allocations: 0.4905 MB / 0.6119 GB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.83e-05/0.832, allocations: 15.98 kB / 0.6119 GB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.832, allocations: 4 kB / 0.6119 GB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.832, allocations: 7.984 kB / 0.6119 GB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00786/0.8399, allocations: 3.304 MB / 0.6151 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/0.8399, allocations: 7.938 kB / 0.6151 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005008/0.8404, allocations: 111.8 kB / 0.6152 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/0.8404, allocations: 8 kB / 0.6152 GB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.473e-05/0.8405, allocations: 15.98 kB / 0.6152 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.137e-05/0.8405, allocations: 16.3 kB / 0.6153 GB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.8405, allocations: 11.94 kB / 0.6153 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002665/0.8432, allocations: 2.502 MB / 0.6177 GB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/0.8444, allocations: 468.8 kB / 0.6182 GB, free: 8.316 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005586/0.845, allocations: 19.98 kB / 0.6182 GB, free: 8.297 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/0.8462, allocations: 39.97 kB / 0.6182 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.8463, allocations: 47.91 kB / 0.6183 GB, free: 8.211 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.945e-05/0.8464, allocations: 31.98 kB / 0.6183 GB, free: 8.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004595/0.851, allocations: 2.38 MB / 0.6206 GB, free: 5.816 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.851, allocations: 0 / 0.6206 GB, free: 5.816 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004467/0.8555, allocations: 0.8216 MB / 0.6214 GB, free: 4.992 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 2 (prismatic.v,position.s) * 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 (60): * Single equations (assignments): 57 * 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.003514/0.859, allocations: 4.081 MB / 0.6254 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005095/0.8641, allocations: 2.811 MB / 0.6282 GB, free: 13.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.8641, allocations: 0 / 0.6282 GB, free: 13.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005774/0.8647, allocations: 419.3 kB / 0.6286 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/0.8668, allocations: 368.4 kB / 0.6289 GB, free: 13.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2176/1.084, allocations: 108.2 MB / 0.7345 GB, free: 24.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002333/1.087, allocations: 2.749 MB / 0.7372 GB, free: 23.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003675/1.091, allocations: 1.589 MB / 0.7388 GB, free: 23.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001793/1.092, allocations: 1.476 MB / 0.7402 GB, free: 23.45 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/1.092, allocations: 0 / 0.7402 GB, free: 23.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07937/1.172, allocations: 56.79 MB / 0.7957 GB, free: 12.78 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/1.172, allocations: 181.4 kB / 0.7959 GB, free: 12.54 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.351/4.523, allocations: 0 / 0.7959 GB, free: 12.54 MB / 442.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat does not exist to compare? outputFormat=mat