Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 221.5 MB / 230.3 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009507/0.0009506, allocations: 84.55 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.141e-05/2.142e-05, allocations: 4 kB / 337.1 MB, free: 9.926 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1126, allocations: 50.42 MB / 387.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3948/0.5074, allocations: 93.79 MB / 481.3 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.5077, allocations: 83.95 kB / 481.4 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1668/0.6745, allocations: 66.04 MB / 0.5346 GB, free: 14.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6746, allocations: 4 kB / 0.5346 GB, free: 14.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001297/0.6747, allocations: 64 kB / 0.5347 GB, free: 14.23 MB / 426.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.007442/0.6821, allocations: 3.084 MB / 0.5377 GB, free: 11.08 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.6822, allocations: 12.03 kB / 0.5377 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007879/0.6901, allocations: 1.898 MB / 0.5396 GB, free: 9.164 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004718/0.6948, allocations: 1.969 MB / 0.5415 GB, free: 7.137 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.695, allocations: 100 kB / 0.5416 GB, free: 7.039 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007754/0.6958, allocations: 172 kB / 0.5418 GB, free: 6.871 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006543/0.7023, allocations: 4.205 MB / 0.5459 GB, free: 2.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2802/0.9826, allocations: 6.911 MB / 0.5526 GB, free: 102.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001239/0.9828, allocations: 52.84 kB / 0.5527 GB, free: 102.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004265/0.9832, allocations: 25.59 kB / 0.5527 GB, free: 102.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001255/0.9845, allocations: 0.735 MB / 0.5534 GB, free: 102.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03982/1.024, allocations: 33.71 MB / 0.5863 GB, free: 79.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/1.026, allocations: 1.37 MB / 0.5877 GB, free: 78.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005482/1.027, allocations: 424.3 kB / 0.5881 GB, free: 78.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003129/1.027, allocations: 346.7 kB / 0.5884 GB, free: 78.13 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/1.027, allocations: 52.23 kB / 0.5885 GB, free: 78.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=87): time 3.497e-06/1.027, allocations: 0 / 0.5885 GB, free: 78.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=87): time 0.003252/1.03, allocations: 1.229 MB / 0.5897 GB, free: 77.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/1.03, allocations: 193.8 kB / 0.5898 GB, free: 77.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005298/1.036, allocations: 2.934 MB / 0.5927 GB, free: 77.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001184/1.036, allocations: 26.89 kB / 0.5927 GB, free: 77.35 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001859/1.038, allocations: 2.758 MB / 0.5954 GB, free: 75.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004123/1.038, allocations: 380.2 kB / 0.5958 GB, free: 75.44 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/1.038, allocations: 3.875 kB / 0.5958 GB, free: 75.44 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002357/1.039, allocations: 0.5185 MB / 0.5963 GB, free: 75.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/1.04, allocations: 1.157 MB / 0.5974 GB, free: 74.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002679/1.043, allocations: 4.613 MB / 0.6019 GB, free: 69.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002839/1.046, allocations: 2.313 MB / 0.6042 GB, free: 68.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.958e-05/1.046, allocations: 38.38 kB / 0.6042 GB, free: 68.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=651) (initialization): time 0.01002/1.056, allocations: 4.951 MB / 0.6091 GB, free: 67.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.679e-05/1.056, allocations: 62.47 kB / 0.6091 GB, free: 67.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001685/1.056, allocations: 126.9 kB / 0.6092 GB, free: 67.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001927/1.056, allocations: 181.6 kB / 0.6094 GB, free: 67.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003501/1.06, allocations: 1.189 MB / 0.6106 GB, free: 66.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001663/1.06, allocations: 246.8 kB / 0.6108 GB, free: 66.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00414/1.064, allocations: 0.6019 MB / 0.6114 GB, free: 66.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004805/1.065, allocations: 363.4 kB / 0.6117 GB, free: 66.49 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 575 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (627): * Single equations (assignments): 624 * 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.0005538/1.065, allocations: 417.9 kB / 0.6121 GB, free: 66.14 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00141/1.066, allocations: 1.007 MB / 0.6131 GB, free: 65.76 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002908/1.067, allocations: 286.1 kB / 0.6134 GB, free: 65.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008451/1.068, allocations: 481.8 kB / 0.6139 GB, free: 65.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/1.068, allocations: 12 kB / 0.6139 GB, free: 65.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.158e-06/1.068, allocations: 2.906 kB / 0.6139 GB, free: 65.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/1.068, allocations: 7.922 kB / 0.6139 GB, free: 65.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004552/1.072, allocations: 2.857 MB / 0.6167 GB, free: 64.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/1.072, allocations: 3.5 kB / 0.6167 GB, free: 64.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004925/1.073, allocations: 115.7 kB / 0.6168 GB, free: 64.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/1.073, allocations: 6.469 kB / 0.6168 GB, free: 64.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.126e-05/1.073, allocations: 7.25 kB / 0.6168 GB, free: 64.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/1.073, allocations: 10.53 kB / 0.6168 GB, free: 64.13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.073, allocations: 3.844 kB / 0.6168 GB, free: 64.13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/1.075, allocations: 2.401 MB / 0.6192 GB, free: 62.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007445/1.075, allocations: 457.8 kB / 0.6196 GB, free: 62.24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002379/1.076, allocations: 11.42 kB / 0.6196 GB, free: 62.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008146/1.077, allocations: 26.81 kB / 0.6196 GB, free: 62.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-05/1.077, allocations: 49.48 kB / 0.6197 GB, free: 62.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-05/1.077, allocations: 27.03 kB / 0.6197 GB, free: 62.22 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002638/1.079, allocations: 2.02 MB / 0.6217 GB, free: 61.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.7e-07/1.079, allocations: 0 / 0.6217 GB, free: 61.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004565/1.084, allocations: 0.7563 MB / 0.6224 GB, free: 61.35 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.v,position.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * 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.002481/1.086, allocations: 3.794 MB / 0.6261 GB, free: 58.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004432/1.091, allocations: 2.634 MB / 0.6287 GB, free: 57.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.091, allocations: 1 kB / 0.6287 GB, free: 57.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00047/1.091, allocations: 414.5 kB / 0.6291 GB, free: 57.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/1.093, allocations: 314.1 kB / 0.6294 GB, free: 57.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01695/1.11, allocations: 6.31 MB / 0.6356 GB, free: 55.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002671/1.113, allocations: 2.756 MB / 0.6382 GB, free: 53.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00442/1.117, allocations: 1.668 MB / 0.6399 GB, free: 53.56 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001828/1.119, allocations: 1.473 MB / 0.6413 GB, free: 52.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/1.119, allocations: 0 / 0.6413 GB, free: 52.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08785/1.207, allocations: 53.46 MB / 0.6935 GB, free: 4.258 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/1.207, allocations: 147 kB / 0.6937 GB, free: 4.066 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.511/4.718, allocations: 3.938 kB / 0.6937 GB, free: 4.062 MB / 426.7 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat does not exist to compare? outputFormat=mat