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.001143/0.001144, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 221.3 MB / 235.5 MB, free: 2.91 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.0009927/0.0009927, allocations: 97.78 kB / 286.5 MB, free: 172 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.505e-05/2.508e-05, allocations: 0 / 343.9 MB, free: 4.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1175, allocations: 50.42 MB / 394.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3949/0.5124, allocations: 94.45 MB / 488.8 MB, free: 8.988 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.5127, allocations: 91.94 kB / 488.9 MB, free: 8.898 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1653/0.6781, allocations: 67.58 MB / 0.5434 GB, free: 4.781 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6781, allocations: 0 / 0.5434 GB, free: 4.781 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001336/0.6783, allocations: 67.98 kB / 0.5435 GB, free: 4.715 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.007992/0.6863, allocations: 3.084 MB / 0.5465 GB, free: 1.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.6863, allocations: 12.03 kB / 0.5465 GB, free: 1.559 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001427/0.6878, allocations: 0.589 MB / 0.5471 GB, free: 0.957 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2692/0.957, allocations: 1.89 MB / 0.5489 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006474/0.9635, allocations: 1.967 MB / 0.5509 GB, free: 102.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003512/0.9639, allocations: 237.5 kB / 0.5511 GB, free: 102.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001442/0.9654, allocations: 311.2 kB / 0.5514 GB, free: 102.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01616/0.9815, allocations: 7.401 MB / 0.5586 GB, free: 100.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001505/0.9817, allocations: 42.12 kB / 0.5586 GB, free: 100.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006851/0.9824, allocations: 153 kB / 0.5588 GB, free: 100.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001303/0.9837, allocations: 0.7444 MB / 0.5595 GB, free: 100.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01206/0.9958, allocations: 5.604 MB / 0.565 GB, free: 100.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03691/1.033, allocations: 35.31 MB / 0.5995 GB, free: 73.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00277/1.036, allocations: 1.654 MB / 0.6011 GB, free: 72.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006718/1.036, allocations: 476.4 kB / 0.6015 GB, free: 72.74 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004772/1.041, allocations: 2.91 MB / 0.6044 GB, free: 70.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/1.041, allocations: 49.14 kB / 0.6044 GB, free: 70.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=83): time 3.627e-06/1.041, allocations: 0 / 0.6044 GB, free: 70.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=83): time 0.003817/1.045, allocations: 1.424 MB / 0.6058 GB, free: 70.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/1.045, allocations: 223.8 kB / 0.606 GB, free: 69.99 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005201/1.05, allocations: 3.275 MB / 0.6092 GB, free: 68.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.457e-05/1.05, allocations: 38.06 kB / 0.6093 GB, free: 68.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001284/1.052, allocations: 2.701 MB / 0.6119 GB, free: 66.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002755/1.052, allocations: 369.1 kB / 0.6123 GB, free: 66.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/1.052, allocations: 94.47 kB / 0.6124 GB, free: 66.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002053/1.052, allocations: 0.5016 MB / 0.6128 GB, free: 65.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/1.054, allocations: 1.189 MB / 0.614 GB, free: 65.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002605/1.056, allocations: 4.518 MB / 0.6184 GB, free: 60.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002543/1.059, allocations: 2.331 MB / 0.6207 GB, free: 59.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.402e-05/1.059, allocations: 33.94 kB / 0.6207 GB, free: 59.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.007968/1.067, allocations: 5.435 MB / 0.626 GB, free: 57.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.485e-05/1.067, allocations: 62.55 kB / 0.6261 GB, free: 57.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000129/1.067, allocations: 119.5 kB / 0.6262 GB, free: 57.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001615/1.067, allocations: 174.3 kB / 0.6264 GB, free: 57.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00325/1.071, allocations: 1.134 MB / 0.6275 GB, free: 57.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001542/1.071, allocations: 237.8 kB / 0.6277 GB, free: 57.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0039/1.075, allocations: 0.7052 MB / 0.6284 GB, free: 57.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000615/1.075, allocations: 353.4 kB / 0.6287 GB, free: 57.12 MB / 426.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 () * 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.0005652/1.076, allocations: 493.7 kB / 0.6292 GB, free: 56.72 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005706/1.077, allocations: 295.7 kB / 0.6295 GB, free: 56.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/1.078, allocations: 0.4968 MB / 0.63 GB, free: 56.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/1.078, allocations: 10.84 kB / 0.63 GB, free: 56.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/1.078, allocations: 7.328 kB / 0.63 GB, free: 56.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/1.078, allocations: 6.266 kB / 0.63 GB, free: 56.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005787/1.083, allocations: 3.299 MB / 0.6332 GB, free: 54.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/1.084, allocations: 3.688 kB / 0.6332 GB, free: 54.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005885/1.084, allocations: 110.1 kB / 0.6333 GB, free: 54.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.756e-05/1.084, allocations: 6.875 kB / 0.6333 GB, free: 54.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.726e-05/1.084, allocations: 22.59 kB / 0.6333 GB, free: 54.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.069e-05/1.084, allocations: 8.938 kB / 0.6334 GB, free: 54.92 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/1.084, allocations: 3.219 kB / 0.6334 GB, free: 54.92 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002377/1.087, allocations: 2.476 MB / 0.6358 GB, free: 53.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008365/1.087, allocations: 467.3 kB / 0.6362 GB, free: 52.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002484/1.088, allocations: 16 kB / 0.6362 GB, free: 52.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000876/1.089, allocations: 41.7 kB / 0.6363 GB, free: 52.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.203e-05/1.089, allocations: 49.22 kB / 0.6363 GB, free: 52.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.032e-05/1.089, allocations: 33.12 kB / 0.6364 GB, free: 52.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003163/1.092, allocations: 2.329 MB / 0.6386 GB, free: 50.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.092, allocations: 0 / 0.6386 GB, free: 50.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003821/1.096, allocations: 0.8299 MB / 0.6394 GB, free: 49.61 MB / 426.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 () * 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.002276/1.098, allocations: 4.045 MB / 0.6434 GB, free: 45.58 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003917/1.102, allocations: 2.765 MB / 0.6461 GB, free: 43.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/1.102, allocations: 0 / 0.6461 GB, free: 43.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004173/1.102, allocations: 410.9 kB / 0.6465 GB, free: 42.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/1.104, allocations: 364.1 kB / 0.6468 GB, free: 42.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/1.118, allocations: 6.428 MB / 0.6531 GB, free: 36.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002642/1.12, allocations: 2.75 MB / 0.6558 GB, free: 34.63 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004425/1.125, allocations: 1.579 MB / 0.6573 GB, free: 33.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00269/1.128, allocations: 1.484 MB / 0.6588 GB, free: 32.25 MB / 426.7 MB Notification: Performance of SimCode: time 2.325e-06/1.128, allocations: 0 / 0.6588 GB, free: 32.25 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3446/1.472, allocations: 56.81 MB / 0.7143 GB, free: 92.27 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/1.472, allocations: 165.2 kB / 0.7144 GB, free: 92.05 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.018/5.49, allocations: 0 / 0.7144 GB, free: 92.05 MB / 442.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