Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002283/0.002283, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.097/2.097, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001229/0.001229, allocations: 98.08 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003904, allocations: 8 kB / 327.1 MB, free: 112 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3386, allocations: 47.58 MB / 374.6 MB, free: 45.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1565/0.4951, allocations: 93.3 MB / 467.9 MB, free: 3.309 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003377/0.4955, allocations: 91.95 kB / 468 MB, free: 3.219 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5395/1.035, allocations: 66.58 MB / 0.5221 GB, free: 92.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.377e-06/1.035, allocations: 7.938 kB / 0.5221 GB, free: 92.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002128/1.035, allocations: 63.61 kB / 0.5222 GB, free: 92.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.01279/1.048, allocations: 3.344 MB / 0.5254 GB, free: 90.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/1.048, allocations: 10.78 kB / 0.5254 GB, free: 90.31 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002571/1.051, allocations: 0.5823 MB / 0.526 GB, free: 89.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01408/1.065, allocations: 1.898 MB / 0.5279 GB, free: 87.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007475/1.072, allocations: 1.994 MB / 0.5298 GB, free: 85.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002789/1.073, allocations: 236.7 kB / 0.53 GB, free: 85.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00172/1.075, allocations: 305.9 kB / 0.5303 GB, free: 85.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01873/1.093, allocations: 7.455 MB / 0.5376 GB, free: 77.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001692/1.094, allocations: 47.53 kB / 0.5376 GB, free: 77.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001159/1.095, allocations: 156.1 kB / 0.5378 GB, free: 76.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001473/1.096, allocations: 0.7503 MB / 0.5385 GB, free: 76.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/1.111, allocations: 5.693 MB / 0.5441 GB, free: 70.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04385/1.155, allocations: 35.32 MB / 0.5786 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004693/1.16, allocations: 1.665 MB / 0.5802 GB, free: 32.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005921/1.166, allocations: 2.914 MB / 0.583 GB, free: 29.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/1.166, allocations: 46.5 kB / 0.5831 GB, free: 29.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=83): time 5.27e-06/1.166, allocations: 3.938 kB / 0.5831 GB, free: 29.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=83): time 0.007206/1.173, allocations: 2.043 MB / 0.5851 GB, free: 26.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.367e-05/1.173, allocations: 221.7 kB / 0.5853 GB, free: 26.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007459/1.181, allocations: 3.324 MB / 0.5885 GB, free: 23.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001647/1.181, allocations: 37.83 kB / 0.5886 GB, free: 23.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002237/1.183, allocations: 2.627 MB / 0.5911 GB, free: 20.69 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005499/1.184, allocations: 371.8 kB / 0.5915 GB, free: 20.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004983/1.184, allocations: 88 kB / 0.5916 GB, free: 20.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003021/1.185, allocations: 0.5131 MB / 0.5921 GB, free: 19.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002959/1.188, allocations: 1.223 MB / 0.5933 GB, free: 18.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005062/1.193, allocations: 4.559 MB / 0.5977 GB, free: 12.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004916/1.198, allocations: 2.322 MB / 0.6 GB, free: 9.879 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.598e-05/1.198, allocations: 36 kB / 0.6 GB, free: 9.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.01325/1.211, allocations: 5.389 MB / 0.6053 GB, free: 4.453 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/1.211, allocations: 56 kB / 0.6054 GB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001516/1.211, allocations: 120 kB / 0.6055 GB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001741/1.211, allocations: 176 kB / 0.6056 GB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006053/1.218, allocations: 1.131 MB / 0.6067 GB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001934/1.218, allocations: 231.1 kB / 0.607 GB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005413/1.223, allocations: 0.7154 MB / 0.6077 GB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009999/1.224, allocations: 340 kB / 0.608 GB, free: 1.695 MB / 378.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.003969/1.228, allocations: 1.715 MB / 0.6097 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000854/1.229, allocations: 300.3 kB / 0.6099 GB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/1.231, allocations: 0.4965 MB / 0.6104 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.625e-05/1.231, allocations: 19.98 kB / 0.6104 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.634e-05/1.231, allocations: 4.562 kB / 0.6105 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/1.231, allocations: 3.984 kB / 0.6105 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01051/1.242, allocations: 3.3 MB / 0.6137 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.926e-05/1.242, allocations: 4 kB / 0.6137 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009932/1.243, allocations: 111.8 kB / 0.6138 GB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.617e-05/1.243, allocations: 8 kB / 0.6138 GB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.316e-05/1.243, allocations: 19.94 kB / 0.6138 GB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.805e-05/1.243, allocations: 15.92 kB / 0.6138 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/1.243, allocations: 7.938 kB / 0.6138 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004319/1.247, allocations: 2.509 MB / 0.6163 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001592/1.249, allocations: 468.8 kB / 0.6167 GB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007079/1.25, allocations: 24.05 kB / 0.6168 GB, free: 8.422 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001777/1.251, allocations: 35.97 kB / 0.6168 GB, free: 8.387 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/1.252, allocations: 47.84 kB / 0.6168 GB, free: 8.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.17e-05/1.252, allocations: 31.98 kB / 0.6169 GB, free: 8.309 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.007216/1.259, allocations: 2.384 MB / 0.6192 GB, free: 5.941 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.61e-07/1.259, allocations: 0 / 0.6192 GB, free: 5.941 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005862/1.265, allocations: 0.8294 MB / 0.62 GB, free: 5.109 MB / 394.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.005662/1.271, allocations: 4.062 MB / 0.624 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007599/1.278, allocations: 2.813 MB / 0.6267 GB, free: 14.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/1.278, allocations: 4 kB / 0.6267 GB, free: 14.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/1.279, allocations: 411.5 kB / 0.6271 GB, free: 13.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002977/1.282, allocations: 381.5 kB / 0.6275 GB, free: 13.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.369/1.651, allocations: 108.5 MB / 0.7335 GB, free: 24.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005701/1.657, allocations: 2.757 MB / 0.7362 GB, free: 23.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003625/1.661, allocations: 1.529 MB / 0.7377 GB, free: 23.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.593e-06/1.661, allocations: 0 / 0.7377 GB, free: 23.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.859/5.52, allocations: 64.89 MB / 0.801 GB, free: 5.871 MB / 442.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat does not exist to compare? outputFormat=mat