Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001143/0.001143, allocations: 198.2 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.237/1.237, allocations: 227.2 MB / 245 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009455/0.0009455, allocations: 102.5 kB / 297.3 MB, free: 5.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000221/0.0002211, allocations: 8 kB / 358 MB, free: 9.227 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2056, allocations: 51.49 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1108/0.3164, allocations: 95.33 MB / 0.493 GB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.3168, allocations: 92.67 kB / 0.4931 GB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3764/0.6932, allocations: 68.89 MB / 0.5604 GB, free: 50.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.6932, allocations: 0 / 0.5604 GB, free: 50.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001241/0.6934, allocations: 60 kB / 0.5604 GB, free: 50.64 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.008112/0.7015, allocations: 3.355 MB / 0.5637 GB, free: 47.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.7016, allocations: 8.031 kB / 0.5637 GB, free: 47.21 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001866/0.7034, allocations: 0.5813 MB / 0.5643 GB, free: 46.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008036/0.7115, allocations: 1.953 MB / 0.5662 GB, free: 44.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005753/0.7173, allocations: 2.008 MB / 0.5681 GB, free: 42.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/0.7175, allocations: 230.1 kB / 0.5684 GB, free: 42.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001035/0.7185, allocations: 303.9 kB / 0.5686 GB, free: 42.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01038/0.7289, allocations: 7.471 MB / 0.5759 GB, free: 33.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.879e-05/0.7291, allocations: 39.62 kB / 0.576 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004769/0.7295, allocations: 155.9 kB / 0.5761 GB, free: 33.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007236/0.7303, allocations: 0.7425 MB / 0.5769 GB, free: 32.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008517/0.7388, allocations: 5.713 MB / 0.5824 GB, free: 27.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02941/0.7683, allocations: 35.31 MB / 0.6169 GB, free: 6.492 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00299/0.7713, allocations: 1.673 MB / 0.6185 GB, free: 4.645 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004519/0.7759, allocations: 2.907 MB / 0.6214 GB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.7759, allocations: 46.5 kB / 0.6214 GB, free: 1.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=83): time 4.629e-06/0.776, allocations: 0 / 0.6214 GB, free: 1.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=83): time 0.00452/0.7805, allocations: 2.059 MB / 0.6234 GB, free: 15.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.529e-05/0.7806, allocations: 217.7 kB / 0.6236 GB, free: 15.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007151/0.7878, allocations: 3.328 MB / 0.6269 GB, free: 11.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002086/0.788, allocations: 37.7 kB / 0.6269 GB, free: 11.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002399/0.7904, allocations: 2.698 MB / 0.6296 GB, free: 9.043 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005264/0.791, allocations: 371.7 kB / 0.6299 GB, free: 8.676 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003012/0.7913, allocations: 96 kB / 0.63 GB, free: 8.582 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003126/0.7916, allocations: 0.5044 MB / 0.6305 GB, free: 8.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002012/0.7936, allocations: 1.219 MB / 0.6317 GB, free: 6.844 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004299/0.798, allocations: 4.559 MB / 0.6362 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003997/0.802, allocations: 2.318 MB / 0.6384 GB, free: 14.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001198/0.8022, allocations: 32 kB / 0.6384 GB, free: 14.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.01101/0.8132, allocations: 5.511 MB / 0.6438 GB, free: 8.691 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.189e-05/0.8133, allocations: 56 kB / 0.6439 GB, free: 8.637 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001248/0.8135, allocations: 120 kB / 0.644 GB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001599/0.8136, allocations: 180 kB / 0.6442 GB, free: 8.344 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003366/0.817, allocations: 1.127 MB / 0.6453 GB, free: 7.215 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001639/0.8172, allocations: 243 kB / 0.6455 GB, free: 6.977 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003902/0.8211, allocations: 0.7074 MB / 0.6462 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006424/0.8218, allocations: 347.9 kB / 0.6465 GB, free: 5.926 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 () * 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.00314/0.8249, allocations: 1.708 MB / 0.6482 GB, free: 4.207 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006252/0.8255, allocations: 304.6 kB / 0.6485 GB, free: 3.906 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.8266, allocations: 498.5 kB / 0.649 GB, free: 3.414 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-05/0.8267, allocations: 15.98 kB / 0.649 GB, free: 3.398 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.8267, allocations: 7.953 kB / 0.649 GB, free: 3.391 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.8267, allocations: 7.984 kB / 0.649 GB, free: 3.383 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007082/0.8338, allocations: 3.3 MB / 0.6522 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.8339, allocations: 7.938 kB / 0.6522 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005379/0.8344, allocations: 111.8 kB / 0.6523 GB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.828e-05/0.8345, allocations: 12.36 kB / 0.6523 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.389e-05/0.8345, allocations: 24 kB / 0.6524 GB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.8345, allocations: 4 kB / 0.6524 GB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.8345, allocations: 7.938 kB / 0.6524 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002766/0.8373, allocations: 2.506 MB / 0.6548 GB, free: 13.17 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/0.8385, allocations: 468.8 kB / 0.6553 GB, free: 12.69 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003269/0.8389, allocations: 12 kB / 0.6553 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009676/0.8399, allocations: 39.97 kB / 0.6553 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.84, allocations: 55.89 kB / 0.6554 GB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.048e-05/0.8401, allocations: 31.91 kB / 0.6554 GB, free: 12.56 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004261/0.8443, allocations: 2.376 MB / 0.6577 GB, free: 10.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.8444, allocations: 0 / 0.6577 GB, free: 10.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004477/0.8489, allocations: 0.8372 MB / 0.6585 GB, free: 9.359 MB / 442.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.003402/0.8523, allocations: 4.079 MB / 0.6625 GB, free: 5.141 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00484/0.8571, allocations: 2.817 MB / 0.6653 GB, free: 2.352 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/0.8572, allocations: 0 / 0.6653 GB, free: 2.352 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000623/0.8578, allocations: 417.6 kB / 0.6657 GB, free: 1.945 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/0.8599, allocations: 369.5 kB / 0.666 GB, free: 1.586 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2684/1.128, allocations: 108.2 MB / 0.7717 GB, free: 21.49 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002497/1.131, allocations: 2.756 MB / 0.7744 GB, free: 20.71 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003812/1.135, allocations: 1.582 MB / 0.7759 GB, free: 20.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001898/1.137, allocations: 1.485 MB / 0.7774 GB, free: 20.56 MB / 442.7 MB Notification: Performance of SimCode: time 1.884e-06/1.137, allocations: 0 / 0.7774 GB, free: 20.56 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08919/1.226, allocations: 56.85 MB / 0.8329 GB, free: 13.15 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/1.226, allocations: 192 kB / 0.8331 GB, free: 12.91 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.898/5.124, allocations: 0 / 0.8331 GB, free: 12.91 MB / 474.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat does not exist to compare? outputFormat=mat