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.001635/0.001635, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.183/2.183, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001116/0.001115, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.138e-05/4.172e-05, allocations: 4 kB / 321.6 MB, free: 17.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1116, allocations: 47.57 MB / 369.2 MB, free: 2.102 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4358/0.5475, allocations: 93.21 MB / 462.4 MB, free: 180 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003362/0.5479, allocations: 89.89 kB / 462.5 MB, free: 132 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2837/0.8317, allocations: 66.61 MB / 0.5167 GB, free: 14.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.8317, allocations: 0 / 0.5167 GB, free: 14.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002825/0.832, allocations: 64 kB / 0.5168 GB, free: 14.56 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.01257/0.8446, allocations: 3.091 MB / 0.5198 GB, free: 11.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.8447, allocations: 8.031 kB / 0.5198 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002371/0.8471, allocations: 0.5852 MB / 0.5204 GB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01446/0.8615, allocations: 1.898 MB / 0.5222 GB, free: 8.902 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007792/0.8694, allocations: 1.969 MB / 0.5241 GB, free: 6.875 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003318/0.8698, allocations: 234.8 kB / 0.5244 GB, free: 6.645 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001698/0.8715, allocations: 299.9 kB / 0.5246 GB, free: 6.352 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3059/1.177, allocations: 7.402 MB / 0.5319 GB, free: 96.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002045/1.178, allocations: 47.41 kB / 0.5319 GB, free: 96.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00133/1.179, allocations: 153.9 kB / 0.5321 GB, free: 96.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002023/1.181, allocations: 0.7386 MB / 0.5328 GB, free: 96.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01765/1.199, allocations: 5.596 MB / 0.5382 GB, free: 96.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04767/1.247, allocations: 35.32 MB / 0.5727 GB, free: 72.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004507/1.251, allocations: 1.645 MB / 0.5743 GB, free: 71.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/1.252, allocations: 470.9 kB / 0.5748 GB, free: 71.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006014/1.258, allocations: 2.91 MB / 0.5776 GB, free: 69.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/1.258, allocations: 49.88 kB / 0.5777 GB, free: 69.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=83): time 4.779e-06/1.258, allocations: 0 / 0.5777 GB, free: 69.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=83): time 0.00606/1.264, allocations: 1.432 MB / 0.5791 GB, free: 69.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.224e-05/1.265, allocations: 219.3 kB / 0.5793 GB, free: 69.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007855/1.272, allocations: 3.276 MB / 0.5825 GB, free: 67.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000188/1.273, allocations: 37.67 kB / 0.5825 GB, free: 67.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002575/1.275, allocations: 2.624 MB / 0.5851 GB, free: 66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006846/1.276, allocations: 370.9 kB / 0.5854 GB, free: 65.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005758/1.277, allocations: 96.03 kB / 0.5855 GB, free: 65.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003443/1.277, allocations: 0.5165 MB / 0.586 GB, free: 65.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003125/1.28, allocations: 1.184 MB / 0.5872 GB, free: 64.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005512/1.286, allocations: 4.534 MB / 0.5916 GB, free: 59.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005426/1.291, allocations: 2.313 MB / 0.5939 GB, free: 59.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001393/1.291, allocations: 34.44 kB / 0.5939 GB, free: 59.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.01491/1.306, allocations: 5.328 MB / 0.5991 GB, free: 57.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/1.307, allocations: 57.97 kB / 0.5992 GB, free: 57.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002041/1.307, allocations: 119.9 kB / 0.5993 GB, free: 57.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002096/1.307, allocations: 175.1 kB / 0.5995 GB, free: 57.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006733/1.314, allocations: 1.129 MB / 0.6006 GB, free: 57.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002472/1.314, allocations: 236.9 kB / 0.6008 GB, free: 57.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006339/1.32, allocations: 0.7037 MB / 0.6015 GB, free: 56.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001373/1.322, allocations: 349.8 kB / 0.6018 GB, free: 56.58 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.00189/1.324, allocations: 0.4935 MB / 0.6023 GB, free: 56.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009034/1.325, allocations: 298.8 kB / 0.6026 GB, free: 56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001939/1.327, allocations: 497.6 kB / 0.603 GB, free: 55.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.657e-05/1.327, allocations: 14.72 kB / 0.6031 GB, free: 55.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/1.327, allocations: 0 / 0.6031 GB, free: 55.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/1.327, allocations: 3.906 kB / 0.6031 GB, free: 55.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009742/1.337, allocations: 3.3 MB / 0.6063 GB, free: 54.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/1.337, allocations: 6.641 kB / 0.6063 GB, free: 54.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/1.338, allocations: 107.8 kB / 0.6064 GB, free: 54.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-05/1.338, allocations: 6.75 kB / 0.6064 GB, free: 54.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.852e-05/1.338, allocations: 19.23 kB / 0.6064 GB, free: 54.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-05/1.338, allocations: 12.09 kB / 0.6064 GB, free: 54.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.413e-06/1.338, allocations: 7.469 kB / 0.6064 GB, free: 54.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003374/1.341, allocations: 2.472 MB / 0.6089 GB, free: 52.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/1.343, allocations: 470.2 kB / 0.6093 GB, free: 52.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005491/1.343, allocations: 18.83 kB / 0.6093 GB, free: 52.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001777/1.345, allocations: 50.2 kB / 0.6094 GB, free: 52.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/1.345, allocations: 42.05 kB / 0.6094 GB, free: 52.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.021e-05/1.345, allocations: 30.39 kB / 0.6094 GB, free: 52.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006078/1.352, allocations: 2.333 MB / 0.6117 GB, free: 51.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.473e-06/1.352, allocations: 0 / 0.6117 GB, free: 51.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00596/1.358, allocations: 0.8304 MB / 0.6125 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.004182/1.362, allocations: 4.037 MB / 0.6165 GB, free: 48.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006844/1.369, allocations: 2.771 MB / 0.6192 GB, free: 46.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/1.369, allocations: 0 / 0.6192 GB, free: 46.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008831/1.37, allocations: 406.6 kB / 0.6196 GB, free: 46.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002952/1.373, allocations: 357.7 kB / 0.6199 GB, free: 45.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02261/1.395, allocations: 6.785 MB / 0.6265 GB, free: 39.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004811/1.4, allocations: 2.764 MB / 0.6292 GB, free: 37.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003409/1.404, allocations: 1.535 MB / 0.6307 GB, free: 36.29 MB / 410.7 MB Notification: Performance of SimCode: time 2.074e-06/1.404, allocations: 0 / 0.6307 GB, free: 36.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.117/5.521, allocations: 64.5 MB / 0.6937 GB, free: 98.31 MB / 426.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