Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.788/1.788, allocations: 171.1 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003628, allocations: 8 kB / 233.3 MB, free: 2.91 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08394/0.08433, allocations: 38.77 MB / 272.1 MB, free: 12.06 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3627/0.4471, allocations: 82.29 MB / 354.4 MB, free: 7.32 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/0.4475, allocations: 99.62 kB / 354.5 MB, free: 7.266 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2718/0.7192, allocations: 66.45 MB / 421 MB, free: 10.51 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.7193, allocations: 0 / 421 MB, free: 10.51 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002951/0.7196, allocations: 68 kB / 421 MB, free: 10.45 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1247 * Number of variables: 1247 Notification: Performance of Generate backend data structure: time 0.01355/0.7332, allocations: 3.567 MB / 424.6 MB, free: 6.812 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/0.7333, allocations: 8.031 kB / 424.6 MB, free: 6.805 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002717/0.736, allocations: 0.6424 MB / 425.2 MB, free: 6.152 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01474/0.7508, allocations: 1.949 MB / 427.2 MB, free: 4.195 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007458/0.7583, allocations: 2.179 MB / 429.4 MB, free: 1.961 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003125/0.7586, allocations: 262.8 kB / 429.6 MB, free: 1.703 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001698/0.7603, allocations: 339.8 kB / 430 MB, free: 1.371 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.259/1.019, allocations: 8.078 MB / 438 MB, free: 76 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002108/1.02, allocations: 51.34 kB / 438.1 MB, free: 76 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001247/1.021, allocations: 172.1 kB / 438.2 MB, free: 76 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001789/1.023, allocations: 0.7811 MB / 439 MB, free: 75.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01677/1.039, allocations: 5.976 MB / 445 MB, free: 75.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04603/1.086, allocations: 39.9 MB / 484.9 MB, free: 47.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004015/1.09, allocations: 1.593 MB / 486.5 MB, free: 46.55 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00589/1.095, allocations: 2.826 MB / 489.3 MB, free: 44.63 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/1.096, allocations: 55.03 kB / 489.4 MB, free: 44.58 MB / 346.7 MB Notification: Performance of pre-optimization done (n=80): time 4.268e-06/1.096, allocations: 0 / 489.4 MB, free: 44.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=80): time 0.006318/1.102, allocations: 1.948 MB / 491.3 MB, free: 43.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.73e-05/1.102, allocations: 191 kB / 491.5 MB, free: 43.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009155/1.111, allocations: 3.656 MB / 495.2 MB, free: 42.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001637/1.111, allocations: 34.75 kB / 495.2 MB, free: 42.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002625/1.114, allocations: 2.818 MB / 498 MB, free: 40.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006384/1.115, allocations: 371.5 kB / 498.4 MB, free: 39.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004847/1.115, allocations: 100.9 kB / 498.5 MB, free: 39.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003498/1.116, allocations: 0.5169 MB / 499 MB, free: 39.44 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003429/1.119, allocations: 1.247 MB / 0.4885 GB, free: 39.06 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005174/1.124, allocations: 4.801 MB / 0.4932 GB, free: 33.78 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005331/1.13, allocations: 2.42 MB / 0.4956 GB, free: 32.8 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001155/1.13, allocations: 36.38 kB / 0.4956 GB, free: 32.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.01431/1.144, allocations: 5.587 MB / 0.5011 GB, free: 30.63 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/1.144, allocations: 65.25 kB / 0.5011 GB, free: 30.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000182/1.144, allocations: 130.4 kB / 0.5013 GB, free: 30.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001894/1.145, allocations: 184.3 kB / 0.5014 GB, free: 30.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0062/1.151, allocations: 1.162 MB / 0.5026 GB, free: 30.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002415/1.151, allocations: 250.6 kB / 0.5028 GB, free: 30.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00601/1.157, allocations: 0.7644 MB / 0.5036 GB, free: 29.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001078/1.158, allocations: 337.5 kB / 0.5039 GB, free: 29.9 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 585 * 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],ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (630): * Single equations (assignments): 627 * 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.004467/1.163, allocations: 1.841 MB / 0.5057 GB, free: 29.03 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007614/1.164, allocations: 327.1 kB / 0.506 GB, free: 28.85 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/1.165, allocations: 0.5214 MB / 0.5065 GB, free: 28.62 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.265e-05/1.165, allocations: 12.45 kB / 0.5065 GB, free: 28.62 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/1.165, allocations: 4 kB / 0.5065 GB, free: 28.62 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/1.165, allocations: 7.047 kB / 0.5065 GB, free: 28.62 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009443/1.175, allocations: 3.424 MB / 0.5099 GB, free: 26.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/1.175, allocations: 7.391 kB / 0.5099 GB, free: 26.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009058/1.176, allocations: 109.9 kB / 0.51 GB, free: 26.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-05/1.176, allocations: 8 kB / 0.51 GB, free: 26.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-05/1.176, allocations: 17.88 kB / 0.51 GB, free: 26.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/1.176, allocations: 4.281 kB / 0.51 GB, free: 26.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/1.176, allocations: 8 kB / 0.51 GB, free: 26.06 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003374/1.179, allocations: 2.43 MB / 0.5124 GB, free: 23.62 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/1.181, allocations: 0.5421 MB / 0.5129 GB, free: 23.12 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005439/1.181, allocations: 12 kB / 0.5129 GB, free: 23.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/1.183, allocations: 58.64 kB / 0.513 GB, free: 23.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/1.183, allocations: 46.22 kB / 0.513 GB, free: 23.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-05/1.183, allocations: 24 kB / 0.513 GB, free: 23.01 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.006802/1.19, allocations: 2.631 MB / 0.5156 GB, free: 20.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.022e-06/1.19, allocations: 0 / 0.5156 GB, free: 20.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006267/1.196, allocations: 0.8954 MB / 0.5165 GB, free: 19.96 MB / 346.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * 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.004257/1.201, allocations: 3.836 MB / 0.5202 GB, free: 16.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006954/1.208, allocations: 2.885 MB / 0.5231 GB, free: 13.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/1.208, allocations: 0 / 0.5231 GB, free: 13.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009387/1.209, allocations: 406.7 kB / 0.5234 GB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00358/1.212, allocations: 408.5 kB / 0.5238 GB, free: 12.95 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3374/1.55, allocations: 117.6 MB / 0.6387 GB, free: 21.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005025/1.555, allocations: 2.932 MB / 0.6415 GB, free: 20.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003253/1.558, allocations: 1.65 MB / 0.6431 GB, free: 20.74 MB / 378.7 MB Notification: Performance of SimCode: time 1.253e-06/1.558, allocations: 3.875 kB / 0.6431 GB, free: 20.74 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.407/5.965, allocations: 70.65 MB / 0.7121 GB, free: 100.5 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat does not exist to compare? outputFormat=mat