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.0009837/0.0009837, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.48/1.48, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0008498/0.0008498, allocations: 86.66 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.717e-05/2.728e-05, allocations: 0 / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08565/0.0857, allocations: 47.58 MB / 370.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3209/0.4066, allocations: 93.21 MB / 463.3 MB, free: 336 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.4069, allocations: 84.86 kB / 463.4 MB, free: 292 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1608/0.5677, allocations: 66.61 MB / 0.5176 GB, free: 14.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5678, allocations: 0 / 0.5176 GB, free: 14.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001248/0.5679, allocations: 64 kB / 0.5177 GB, free: 14.26 MB / 410.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.006625/0.5746, allocations: 3.091 MB / 0.5207 GB, free: 11.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5746, allocations: 8.031 kB / 0.5207 GB, free: 11.1 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009771/0.5756, allocations: 0.5852 MB / 0.5213 GB, free: 10.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007242/0.5828, allocations: 1.902 MB / 0.5231 GB, free: 8.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004493/0.5874, allocations: 1.969 MB / 0.525 GB, free: 6.562 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000159/0.5875, allocations: 238.7 kB / 0.5253 GB, free: 6.328 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008202/0.5884, allocations: 299.9 kB / 0.5256 GB, free: 6.035 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2154/0.8038, allocations: 7.397 MB / 0.5328 GB, free: 97.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000142/0.804, allocations: 43.61 kB / 0.5328 GB, free: 97.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005735/0.8046, allocations: 153.3 kB / 0.533 GB, free: 97.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00119/0.8058, allocations: 0.7449 MB / 0.5337 GB, free: 97.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01189/0.8177, allocations: 5.602 MB / 0.5392 GB, free: 97.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03067/0.8484, allocations: 35.32 MB / 0.5737 GB, free: 73.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/0.8509, allocations: 1.642 MB / 0.5753 GB, free: 72.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005356/0.8515, allocations: 473 kB / 0.5757 GB, free: 71.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003352/0.8549, allocations: 2.917 MB / 0.5786 GB, free: 69.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.8549, allocations: 49.5 kB / 0.5786 GB, free: 69.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=83): time 2.996e-06/0.8549, allocations: 0 / 0.5786 GB, free: 69.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=83): time 0.003141/0.8581, allocations: 1.433 MB / 0.58 GB, free: 69.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.8581, allocations: 212.7 kB / 0.5802 GB, free: 69.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00426/0.8624, allocations: 3.272 MB / 0.5834 GB, free: 68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.8625, allocations: 37.64 kB / 0.5834 GB, free: 67.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001545/0.8641, allocations: 2.7 MB / 0.5861 GB, free: 66.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000352/0.8645, allocations: 377.3 kB / 0.5864 GB, free: 65.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.8647, allocations: 92.97 kB / 0.5865 GB, free: 65.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000226/0.8649, allocations: 0.5072 MB / 0.587 GB, free: 65.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/0.8665, allocations: 1.187 MB / 0.5882 GB, free: 65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002642/0.8691, allocations: 4.526 MB / 0.5926 GB, free: 60.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002635/0.8718, allocations: 2.322 MB / 0.5949 GB, free: 59.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.818e-05/0.8719, allocations: 36.72 kB / 0.5949 GB, free: 59.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.007529/0.8794, allocations: 5.436 MB / 0.6002 GB, free: 57.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.675e-05/0.8795, allocations: 56.59 kB / 0.6003 GB, free: 57.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001228/0.8797, allocations: 122.9 kB / 0.6004 GB, free: 57.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001497/0.8798, allocations: 175.8 kB / 0.6005 GB, free: 57.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002904/0.8827, allocations: 1.133 MB / 0.6017 GB, free: 57.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001298/0.8829, allocations: 233.7 kB / 0.6019 GB, free: 57.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003749/0.8866, allocations: 0.704 MB / 0.6026 GB, free: 56.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005824/0.8872, allocations: 348.9 kB / 0.6029 GB, free: 56.57 MB / 410.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.0005856/0.8878, allocations: 494.5 kB / 0.6034 GB, free: 56.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004698/0.8883, allocations: 302.6 kB / 0.6037 GB, free: 56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000961/0.8893, allocations: 0.4903 MB / 0.6041 GB, free: 55.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.153e-05/0.8893, allocations: 14.03 kB / 0.6042 GB, free: 55.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.485e-06/0.8893, allocations: 0 / 0.6042 GB, free: 55.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.8893, allocations: 10.67 kB / 0.6042 GB, free: 55.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004942/0.8943, allocations: 3.297 MB / 0.6074 GB, free: 54.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.8943, allocations: 3.781 kB / 0.6074 GB, free: 54.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004501/0.8948, allocations: 113.5 kB / 0.6075 GB, free: 54.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/0.8948, allocations: 6.188 kB / 0.6075 GB, free: 54.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.169e-05/0.8948, allocations: 23.22 kB / 0.6075 GB, free: 54.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.8949, allocations: 6.312 kB / 0.6075 GB, free: 54.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.8949, allocations: 10 kB / 0.6075 GB, free: 54.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.8966, allocations: 2.467 MB / 0.6099 GB, free: 52.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006841/0.8973, allocations: 474.6 kB / 0.6104 GB, free: 52.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/0.8975, allocations: 16.17 kB / 0.6104 GB, free: 52.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008278/0.8983, allocations: 44.67 kB / 0.6105 GB, free: 52.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.453e-05/0.8984, allocations: 46.73 kB / 0.6105 GB, free: 52.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.983e-05/0.8985, allocations: 32.2 kB / 0.6105 GB, free: 52.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002844/0.9013, allocations: 2.325 MB / 0.6128 GB, free: 51.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.062e-06/0.9014, allocations: 0 / 0.6128 GB, free: 51.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003612/0.905, allocations: 0.8306 MB / 0.6136 GB, free: 51.32 MB / 410.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.002136/0.9071, allocations: 4.046 MB / 0.6176 GB, free: 48.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003767/0.9109, allocations: 2.765 MB / 0.6203 GB, free: 46.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.9109, allocations: 2.406 kB / 0.6203 GB, free: 46.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004455/0.9114, allocations: 410.2 kB / 0.6207 GB, free: 45.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/0.9131, allocations: 355.3 kB / 0.621 GB, free: 45.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/0.9253, allocations: 6.421 MB / 0.6273 GB, free: 39.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002196/0.9275, allocations: 2.762 MB / 0.63 GB, free: 37.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003692/0.9312, allocations: 1.584 MB / 0.6315 GB, free: 36.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002085/0.9333, allocations: 1.48 MB / 0.633 GB, free: 35.46 MB / 410.7 MB Notification: Performance of SimCode: time 1.183e-06/0.9333, allocations: 0 / 0.633 GB, free: 35.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2938/1.227, allocations: 56.73 MB / 0.6884 GB, free: 88.7 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/1.227, allocations: 169.5 kB / 0.6885 GB, free: 88.48 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.571/4.799, allocations: 1.203 kB / 0.6885 GB, free: 88.48 MB / 426.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