Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.172/2.172, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003597, allocations: 8 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09534/0.09574, allocations: 44.5 MB / 308.5 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4223/0.5181, allocations: 88.17 MB / 396.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.5184, allocations: 94.39 kB / 396.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2915/0.8099, allocations: 67.08 MB / 463.9 MB, free: 7.121 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.81, allocations: 0 / 463.9 MB, free: 7.121 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002571/0.8103, allocations: 71.94 kB / 464 MB, free: 7.051 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.01243/0.8227, allocations: 3.453 MB / 467.4 MB, free: 3.559 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.8228, allocations: 8.031 kB / 467.4 MB, free: 3.551 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002879/0.8257, allocations: 0.6394 MB / 468.1 MB, free: 2.926 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01472/0.8404, allocations: 1.949 MB / 470 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007732/0.8482, allocations: 2.082 MB / 472.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005551/0.8488, allocations: 257.5 kB / 472.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002088/0.8509, allocations: 338.6 kB / 472.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02309/0.8741, allocations: 8.08 MB / 480.7 MB, free: 5.312 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001894/0.8743, allocations: 51.5 kB / 480.8 MB, free: 5.262 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001384/0.8757, allocations: 170.3 kB / 481 MB, free: 5.117 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001784/0.8775, allocations: 0.7817 MB / 481.7 MB, free: 4.336 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01741/0.895, allocations: 5.974 MB / 487.7 MB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05701/0.9521, allocations: 39.81 MB / 0.5152 GB, free: 5.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004587/0.9567, allocations: 1.596 MB / 0.5167 GB, free: 3.508 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00649/0.9632, allocations: 2.743 MB / 0.5194 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.9633, allocations: 46.5 kB / 0.5194 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of pre-optimization done (n=80): time 4.989e-06/0.9633, allocations: 0 / 0.5194 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of matching and sorting (n=80): time 0.281/1.244, allocations: 1.942 MB / 0.5213 GB, free: 107.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.42e-05/1.244, allocations: 193.1 kB / 0.5215 GB, free: 107.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01062/1.255, allocations: 3.636 MB / 0.5251 GB, free: 106.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001747/1.255, allocations: 36.92 kB / 0.5251 GB, free: 106.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002794/1.258, allocations: 2.813 MB / 0.5279 GB, free: 105.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006461/1.259, allocations: 373.9 kB / 0.5282 GB, free: 105.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005975/1.259, allocations: 98.28 kB / 0.5283 GB, free: 105.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003545/1.26, allocations: 0.5183 MB / 0.5288 GB, free: 105 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003437/1.263, allocations: 1.251 MB / 0.53 GB, free: 105 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006389/1.27, allocations: 4.794 MB / 0.5347 GB, free: 100.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006201/1.276, allocations: 2.426 MB / 0.5371 GB, free: 100.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002252/1.276, allocations: 35.75 kB / 0.5371 GB, free: 100.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.01594/1.292, allocations: 5.597 MB / 0.5426 GB, free: 99.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000117/1.292, allocations: 64.34 kB / 0.5426 GB, free: 99.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002074/1.293, allocations: 126.8 kB / 0.5428 GB, free: 99.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002576/1.293, allocations: 187 kB / 0.5429 GB, free: 99.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006498/1.299, allocations: 1.163 MB / 0.5441 GB, free: 99.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002673/1.3, allocations: 247.9 kB / 0.5443 GB, free: 99.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006056/1.306, allocations: 0.7453 MB / 0.545 GB, free: 99.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001163/1.307, allocations: 335 kB / 0.5454 GB, free: 99.14 MB / 410.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.004681/1.312, allocations: 1.843 MB / 0.5472 GB, free: 98.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000734/1.312, allocations: 325.2 kB / 0.5475 GB, free: 98.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/1.314, allocations: 0.515 MB / 0.548 GB, free: 98.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.125e-05/1.314, allocations: 7.562 kB / 0.548 GB, free: 98.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/1.314, allocations: 6.188 kB / 0.548 GB, free: 98.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/1.314, allocations: 5.094 kB / 0.548 GB, free: 98.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/1.325, allocations: 3.339 MB / 0.5513 GB, free: 98.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/1.325, allocations: 3.969 kB / 0.5513 GB, free: 98.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000948/1.326, allocations: 111 kB / 0.5514 GB, free: 98.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.25e-05/1.326, allocations: 3.625 kB / 0.5514 GB, free: 98.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.778e-05/1.326, allocations: 22.86 kB / 0.5514 GB, free: 98.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.206e-05/1.326, allocations: 5.297 kB / 0.5514 GB, free: 98.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/1.326, allocations: 7.594 kB / 0.5514 GB, free: 98.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00356/1.33, allocations: 2.429 MB / 0.5538 GB, free: 96.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001539/1.331, allocations: 469 kB / 0.5542 GB, free: 96.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008797/1.332, allocations: 17.25 kB / 0.5542 GB, free: 96.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002049/1.334, allocations: 39.89 kB / 0.5543 GB, free: 96.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002435/1.335, allocations: 42.7 kB / 0.5543 GB, free: 96.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.618e-05/1.335, allocations: 31.75 kB / 0.5544 GB, free: 96.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.007207/1.342, allocations: 2.614 MB / 0.5569 GB, free: 96.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.342, allocations: 0 / 0.5569 GB, free: 96.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006281/1.348, allocations: 0.8758 MB / 0.5578 GB, free: 96 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 () * 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.004203/1.353, allocations: 3.819 MB / 0.5615 GB, free: 93.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006775/1.359, allocations: 2.888 MB / 0.5643 GB, free: 92.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/1.359, allocations: 0 / 0.5643 GB, free: 92.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008674/1.36, allocations: 409.7 kB / 0.5647 GB, free: 92.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003127/1.363, allocations: 403.9 kB / 0.5651 GB, free: 91.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08783/1.451, allocations: 116 MB / 0.6784 GB, free: 14.58 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006232/1.458, allocations: 2.931 MB / 0.6813 GB, free: 12.33 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003877/1.462, allocations: 1.635 MB / 0.6829 GB, free: 10.81 MB / 442.7 MB Notification: Performance of SimCode: time 1.382e-06/1.462, allocations: 0 / 0.6829 GB, free: 10.81 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.31/5.772, allocations: 68.78 MB / 0.75 GB, free: 119.8 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat does not exist to compare? outputFormat=mat