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.001074/0.001075, allocations: 177.1 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.3 MB / 214.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 78.7 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.649e-05/1.651e-05, allocations: 4 kB / 315.6 MB, free: 22.63 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1048, allocations: 47.59 MB / 363.2 MB, free: 6.984 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3949/0.4998, allocations: 92.8 MB / 456 MB, free: 2.832 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.5001, allocations: 89.38 kB / 456.1 MB, free: 2.785 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1636/0.6637, allocations: 65.05 MB / 0.5089 GB, free: 7.105 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.6637, allocations: 0 / 0.5089 GB, free: 7.105 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001467/0.6639, allocations: 71.98 kB / 0.509 GB, free: 7.035 MB / 394.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.00963/0.6735, allocations: 3.088 MB / 0.512 GB, free: 3.887 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.446e-05/0.6736, allocations: 12.03 kB / 0.512 GB, free: 3.875 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009255/0.6829, allocations: 1.894 MB / 0.5138 GB, free: 1.973 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005381/0.6883, allocations: 1.973 MB / 0.5158 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.6885, allocations: 104.7 kB / 0.5159 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008914/0.6894, allocations: 176 kB / 0.516 GB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00749/0.6969, allocations: 4.193 MB / 0.5201 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01367/0.7106, allocations: 6.915 MB / 0.5269 GB, free: 3.695 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001128/0.7108, allocations: 47.56 kB / 0.5269 GB, free: 3.648 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004034/0.7112, allocations: 28 kB / 0.527 GB, free: 3.621 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001066/0.7123, allocations: 0.7352 MB / 0.5277 GB, free: 2.883 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3024/1.015, allocations: 33.71 MB / 0.5606 GB, free: 80.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/1.017, allocations: 1.369 MB / 0.5619 GB, free: 79.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006809/1.018, allocations: 427.7 kB / 0.5623 GB, free: 79.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000399/1.018, allocations: 345 kB / 0.5627 GB, free: 79.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/1.018, allocations: 46.05 kB / 0.5627 GB, free: 79.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=87): time 4.088e-06/1.018, allocations: 0 / 0.5627 GB, free: 79.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=87): time 0.003971/1.022, allocations: 1.243 MB / 0.5639 GB, free: 78.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.396e-05/1.022, allocations: 192.5 kB / 0.5641 GB, free: 78.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006498/1.029, allocations: 2.935 MB / 0.567 GB, free: 78.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000197/1.029, allocations: 29.86 kB / 0.567 GB, free: 78.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002464/1.031, allocations: 2.748 MB / 0.5697 GB, free: 77.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006204/1.032, allocations: 382.9 kB / 0.57 GB, free: 76.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/1.032, allocations: 3.5 kB / 0.57 GB, free: 76.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003578/1.033, allocations: 0.5141 MB / 0.5706 GB, free: 76.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/1.034, allocations: 1.156 MB / 0.5717 GB, free: 76.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003392/1.038, allocations: 4.616 MB / 0.5762 GB, free: 72.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003783/1.042, allocations: 2.316 MB / 0.5784 GB, free: 72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001209/1.042, allocations: 38.92 kB / 0.5785 GB, free: 71.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=651) (initialization): time 0.009244/1.051, allocations: 4.953 MB / 0.5833 GB, free: 70.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.1e-05/1.051, allocations: 59.03 kB / 0.5834 GB, free: 70.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001673/1.051, allocations: 126 kB / 0.5835 GB, free: 70.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002139/1.051, allocations: 183.5 kB / 0.5837 GB, free: 70.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003559/1.055, allocations: 1.189 MB / 0.5848 GB, free: 70.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001392/1.055, allocations: 240.4 kB / 0.5851 GB, free: 70.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00446/1.06, allocations: 0.6144 MB / 0.5857 GB, free: 70.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005794/1.06, allocations: 356.8 kB / 0.586 GB, free: 70.36 MB / 410.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.0006156/1.061, allocations: 410.3 kB / 0.5864 GB, free: 70.02 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001671/1.063, allocations: 1.015 MB / 0.5874 GB, free: 69.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000305/1.063, allocations: 281 kB / 0.5877 GB, free: 69.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009363/1.064, allocations: 483.2 kB / 0.5881 GB, free: 69.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.488e-05/1.064, allocations: 12.11 kB / 0.5881 GB, free: 69.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/1.064, allocations: 3.375 kB / 0.5881 GB, free: 69.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/1.064, allocations: 10.73 kB / 0.5881 GB, free: 69.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004982/1.069, allocations: 2.861 MB / 0.5909 GB, free: 68.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/1.069, allocations: 7.516 kB / 0.5909 GB, free: 68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004935/1.069, allocations: 115.2 kB / 0.5911 GB, free: 67.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/1.069, allocations: 6.875 kB / 0.5911 GB, free: 67.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.144e-05/1.07, allocations: 6.875 kB / 0.5911 GB, free: 67.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.498e-06/1.07, allocations: 13.95 kB / 0.5911 GB, free: 67.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.07, allocations: 8.156 kB / 0.5911 GB, free: 67.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/1.071, allocations: 2.378 MB / 0.5934 GB, free: 66.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007286/1.072, allocations: 452 kB / 0.5938 GB, free: 66.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002321/1.072, allocations: 7.906 kB / 0.5938 GB, free: 66.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008226/1.073, allocations: 27.91 kB / 0.5939 GB, free: 66.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/1.073, allocations: 57.11 kB / 0.5939 GB, free: 66.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.906e-05/1.073, allocations: 27.69 kB / 0.594 GB, free: 66.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002459/1.076, allocations: 2.011 MB / 0.5959 GB, free: 65.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.076, allocations: 0 / 0.5959 GB, free: 65.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004263/1.08, allocations: 0.7522 MB / 0.5967 GB, free: 65.23 MB / 410.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.002395/1.083, allocations: 3.793 MB / 0.6004 GB, free: 62.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004084/1.087, allocations: 2.643 MB / 0.6029 GB, free: 61.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.087, allocations: 1 kB / 0.6029 GB, free: 61.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004276/1.087, allocations: 414.1 kB / 0.6033 GB, free: 61.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/1.089, allocations: 310.9 kB / 0.6036 GB, free: 61.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/1.103, allocations: 6.304 MB / 0.6098 GB, free: 58.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002342/1.105, allocations: 2.754 MB / 0.6125 GB, free: 57.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003863/1.109, allocations: 1.666 MB / 0.6141 GB, free: 56.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001496/1.11, allocations: 1.476 MB / 0.6155 GB, free: 55.06 MB / 410.7 MB Notification: Performance of SimCode: time 1.093e-06/1.11, allocations: 0 / 0.6155 GB, free: 55.06 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08714/1.198, allocations: 53.38 MB / 0.6677 GB, free: 7.867 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/1.198, allocations: 151 kB / 0.6678 GB, free: 7.672 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.916/5.114, allocations: 4.031 kB / 0.6678 GB, free: 7.668 MB / 410.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