Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.957/1.957, allocations: 194.9 MB / 211.1 MB, free: 8.551 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004143/0.0004143, allocations: 12 kB / 264.1 MB, free: 3.477 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2952, allocations: 44.51 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1652/0.4605, allocations: 88.17 MB / 396.7 MB, free: 4.371 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/0.4609, allocations: 95.88 kB / 396.8 MB, free: 4.277 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5677/1.029, allocations: 67.1 MB / 463.9 MB, free: 60.63 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.755e-06/1.029, allocations: 0 / 463.9 MB, free: 60.63 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002223/1.029, allocations: 64 kB / 464 MB, free: 60.57 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.01101/1.04, allocations: 3.446 MB / 467.4 MB, free: 57.06 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/1.04, allocations: 8.031 kB / 467.4 MB, free: 57.05 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002436/1.042, allocations: 0.6385 MB / 468.1 MB, free: 56.4 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01372/1.056, allocations: 1.949 MB / 470 MB, free: 54.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006925/1.063, allocations: 2.073 MB / 472.1 MB, free: 52.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002365/1.063, allocations: 266.7 kB / 472.4 MB, free: 52.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001609/1.065, allocations: 335.9 kB / 472.7 MB, free: 51.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01742/1.082, allocations: 8.077 MB / 480.8 MB, free: 42.65 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001566/1.083, allocations: 59.48 kB / 480.8 MB, free: 42.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000757/1.083, allocations: 175.9 kB / 481 MB, free: 42.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001371/1.085, allocations: 0.7777 MB / 481.8 MB, free: 41.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01478/1.1, allocations: 5.966 MB / 487.7 MB, free: 35.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04677/1.146, allocations: 39.81 MB / 0.5152 GB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004658/1.151, allocations: 1.6 MB / 0.5168 GB, free: 8.664 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006974/1.158, allocations: 2.744 MB / 0.5194 GB, free: 5.758 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.531e-05/1.158, allocations: 42.5 kB / 0.5195 GB, free: 5.707 MB / 362.7 MB Notification: Performance of pre-optimization done (n=80): time 5.12e-06/1.158, allocations: 4 kB / 0.5195 GB, free: 5.703 MB / 362.7 MB Notification: Performance of matching and sorting (n=80): time 0.007333/1.166, allocations: 1.937 MB / 0.5214 GB, free: 3.703 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/1.166, allocations: 191.9 kB / 0.5216 GB, free: 3.473 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01124/1.177, allocations: 3.636 MB / 0.5251 GB, free: 15.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002073/1.177, allocations: 37.7 kB / 0.5251 GB, free: 15.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004048/1.181, allocations: 2.912 MB / 0.528 GB, free: 12.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007805/1.182, allocations: 371.8 kB / 0.5283 GB, free: 12.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006516/1.183, allocations: 96.28 kB / 0.5284 GB, free: 12.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004936/1.183, allocations: 0.5167 MB / 0.5289 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003778/1.187, allocations: 1.247 MB / 0.5302 GB, free: 10.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009208/1.197, allocations: 4.798 MB / 0.5348 GB, free: 3.957 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008694/1.205, allocations: 2.413 MB / 0.5372 GB, free: 1.543 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001794/1.206, allocations: 39.94 kB / 0.5372 GB, free: 1.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.02395/1.229, allocations: 5.732 MB / 0.5428 GB, free: 11.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001749/1.23, allocations: 60 kB / 0.5429 GB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002954/1.23, allocations: 128 kB / 0.543 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003544/1.23, allocations: 184 kB / 0.5432 GB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009399/1.24, allocations: 1.17 MB / 0.5443 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003248/1.24, allocations: 247 kB / 0.5446 GB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005928/1.246, allocations: 0.746 MB / 0.5453 GB, free: 9.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001202/1.247, allocations: 328 kB / 0.5456 GB, free: 8.914 MB / 394.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.005172/1.253, allocations: 1.848 MB / 0.5474 GB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000848/1.253, allocations: 323.8 kB / 0.5477 GB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/1.256, allocations: 0.5088 MB / 0.5482 GB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-05/1.256, allocations: 16 kB / 0.5482 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/1.256, allocations: 0 / 0.5482 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/1.256, allocations: 7.984 kB / 0.5482 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/1.267, allocations: 3.34 MB / 0.5515 GB, free: 2.762 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.38e-05/1.267, allocations: 8 kB / 0.5515 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/1.268, allocations: 107.8 kB / 0.5516 GB, free: 2.648 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.81e-05/1.268, allocations: 7.953 kB / 0.5516 GB, free: 2.641 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.252e-05/1.268, allocations: 20 kB / 0.5516 GB, free: 2.621 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.37e-05/1.268, allocations: 8.281 kB / 0.5516 GB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.181e-05/1.268, allocations: 11.88 kB / 0.5517 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004213/1.272, allocations: 2.429 MB / 0.554 GB, free: 20 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2875/1.56, allocations: 466 kB / 0.5545 GB, free: 104.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001039/1.561, allocations: 15.61 kB / 0.5545 GB, free: 104.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002368/1.563, allocations: 34.22 kB / 0.5545 GB, free: 104.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003024/1.564, allocations: 53.48 kB / 0.5546 GB, free: 104.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/1.564, allocations: 28.8 kB / 0.5546 GB, free: 104.1 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00894/1.573, allocations: 2.609 MB / 0.5571 GB, free: 103.9 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.092e-06/1.573, allocations: 0 / 0.5571 GB, free: 103.9 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006451/1.579, allocations: 0.8766 MB / 0.558 GB, free: 103.9 MB / 394.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.004743/1.584, allocations: 3.804 MB / 0.5617 GB, free: 101.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007065/1.591, allocations: 2.887 MB / 0.5645 GB, free: 101.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/1.591, allocations: 3.062 kB / 0.5645 GB, free: 101.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009273/1.592, allocations: 407.2 kB / 0.5649 GB, free: 101.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003616/1.596, allocations: 408.1 kB / 0.5653 GB, free: 101.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0903/1.686, allocations: 115.6 MB / 0.6782 GB, free: 12.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007239/1.694, allocations: 2.932 MB / 0.6811 GB, free: 11.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.008088/1.702, allocations: 1.592 MB / 0.6826 GB, free: 11.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00602/1.708, allocations: 1.593 MB / 0.6842 GB, free: 10.18 MB / 410.7 MB Notification: Performance of SimCode: time 2.625e-06/1.708, allocations: 0 / 0.6842 GB, free: 10.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4739/2.182, allocations: 61.15 MB / 0.7439 GB, free: 125.4 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002622/2.182, allocations: 195.3 kB / 0.7441 GB, free: 125.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.981/7.163, allocations: 0 / 0.7441 GB, free: 125.2 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat does not exist to compare? outputFormat=mat