Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Continuous_SteadyState.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.305/2.305, allocations: 235 MB / 248 MB, free: 14.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.086e-05/4.103e-05, allocations: 4 kB / 309.8 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3881, allocations: 54.86 MB / 364.6 MB, free: 5.391 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.164/0.5522, allocations: 89.82 MB / 454.4 MB, free: 6.562 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.5525, allocations: 63.97 kB / 454.5 MB, free: 6.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09647/0.649, allocations: 19.14 MB / 473.6 MB, free: 3.328 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.649, allocations: 4 kB / 473.6 MB, free: 3.324 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.384e-05/0.6491, allocations: 23.94 kB / 473.7 MB, free: 3.301 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.002924/0.6521, allocations: 0.8922 MB / 474.6 MB, free: 2.363 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/0.6522, allocations: 8.031 kB / 474.6 MB, free: 2.355 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002022/0.6524, allocations: 82.47 kB / 474.7 MB, free: 2.266 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002845/0.6527, allocations: 90.97 kB / 474.7 MB, free: 2.176 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.6543, allocations: 0.5149 MB / 475.3 MB, free: 1.617 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.94e-05/0.6544, allocations: 41.94 kB / 475.3 MB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.6546, allocations: 55.84 kB / 475.4 MB, free: 1.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.6559, allocations: 480.1 kB / 475.8 MB, free: 1.023 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.155e-05/0.656, allocations: 3.938 kB / 475.8 MB, free: 1.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.221e-05/0.6561, allocations: 16 kB / 475.8 MB, free: 1.004 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.6561, allocations: 8 kB / 475.8 MB, free: 0.9961 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.6572, allocations: 338.1 kB / 476.2 MB, free: 0.6641 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005878/0.6631, allocations: 1.924 MB / 478.1 MB, free: 14.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.6646, allocations: 474.3 kB / 478.6 MB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005299/0.6651, allocations: 194.5 kB / 478.8 MB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-05/0.6652, allocations: 4.406 kB / 478.8 MB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/0.6653, allocations: 42.55 kB / 478.8 MB, free: 13.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 3.377e-06/0.6653, allocations: 4 kB / 478.8 MB, free: 13.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.002342/0.6677, allocations: 0.7696 MB / 479.6 MB, free: 13.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.6678, allocations: 137.5 kB / 479.7 MB, free: 12.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.6688, allocations: 0.4918 MB / 480.2 MB, free: 12.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.801e-05/0.6689, allocations: 37.7 kB / 480.2 MB, free: 12.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003185/0.6692, allocations: 342.8 kB / 480.6 MB, free: 12.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/0.6695, allocations: 173.6 kB / 480.7 MB, free: 11.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.885e-05/0.6695, allocations: 8 kB / 480.7 MB, free: 11.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.6697, allocations: 335.6 kB / 481.1 MB, free: 11.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000582/0.6703, allocations: 185.1 kB / 481.3 MB, free: 11.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006917/0.671, allocations: 297 kB / 481.5 MB, free: 11.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000637/0.6717, allocations: 224.4 kB / 481.8 MB, free: 10.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.6717, allocations: 3.938 kB / 481.8 MB, free: 10.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001746/0.6734, allocations: 0.5855 MB / 482.4 MB, free: 10.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005126/0.674, allocations: 1.063 MB / 483.4 MB, free: 9.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.674, allocations: 4 kB / 483.4 MB, free: 9.109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003368/0.6743, allocations: 56.81 kB / 483.5 MB, free: 9.051 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.6761, allocations: 195.8 kB / 483.7 MB, free: 8.859 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/0.6781, allocations: 1.487 MB / 485.2 MB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.6792, allocations: 95.73 kB / 485.2 MB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.687e-05/0.6793, allocations: 20 kB / 485.3 MB, free: 7.129 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.6793, allocations: 4 kB / 485.3 MB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001641/0.681, allocations: 0.5397 MB / 485.8 MB, free: 6.582 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.681, allocations: 4 kB / 485.8 MB, free: 6.578 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002381/0.6813, allocations: 60.77 kB / 485.9 MB, free: 6.516 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/0.6829, allocations: 187.8 kB / 486.1 MB, free: 6.332 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.6829, allocations: 11.97 kB / 486.1 MB, free: 6.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006099/0.6836, allocations: 67.64 kB / 486.1 MB, free: 6.254 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-05/0.6836, allocations: 20 kB / 486.2 MB, free: 6.234 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002131/0.6839, allocations: 140.8 kB / 486.3 MB, free: 6.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/0.6841, allocations: 67.16 kB / 486.4 MB, free: 6.023 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.6844, allocations: 81.42 kB / 486.4 MB, free: 5.941 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.6844, allocations: 7.953 kB / 486.4 MB, free: 5.934 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.6844, allocations: 4 kB / 486.5 MB, free: 5.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.6845, allocations: 3.984 kB / 486.5 MB, free: 5.926 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.6862, allocations: 0.7791 MB / 487.2 MB, free: 5.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/0.6862, allocations: 4 kB / 487.2 MB, free: 5.086 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/0.6875, allocations: 115.9 kB / 487.4 MB, free: 4.973 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/0.6876, allocations: 3.953 kB / 487.4 MB, free: 4.969 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.658e-05/0.6877, allocations: 19.98 kB / 487.4 MB, free: 4.949 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.6877, allocations: 3.938 kB / 487.4 MB, free: 4.945 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.6877, allocations: 8 kB / 487.4 MB, free: 4.938 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/0.6897, allocations: 0.9571 MB / 488.3 MB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004099/0.6902, allocations: 192.3 kB / 488.5 MB, free: 3.738 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.6903, allocations: 8 kB / 488.5 MB, free: 3.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.6914, allocations: 67.94 kB / 488.6 MB, free: 3.664 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.6916, allocations: 35.94 kB / 488.6 MB, free: 3.629 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.743e-05/0.6917, allocations: 24.02 kB / 488.7 MB, free: 3.605 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008392/0.6925, allocations: 395.1 kB / 489 MB, free: 3.223 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6925, allocations: 0 / 489 MB, free: 3.223 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001116/0.6936, allocations: 196 kB / 489.2 MB, free: 3.031 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * Array equations: 0 * 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.002649/0.6963, allocations: 1.675 MB / 490.9 MB, free: 1.316 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002723/0.6991, allocations: 0.9341 MB / 491.9 MB, free: 356 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.6991, allocations: 0 / 491.9 MB, free: 356 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006375/0.6998, allocations: 217.7 kB / 492.1 MB, free: 140 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.7013, allocations: 163 kB / 492.2 MB, free: 15.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004322/0.7056, allocations: 1.361 MB / 493.6 MB, free: 14.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008585/0.7065, allocations: 0.9455 MB / 494.5 MB, free: 13.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007113/0.7072, allocations: 235.4 kB / 494.8 MB, free: 13.36 MB / 426.7 MB Notification: Performance of SimCode: time 1.203e-06/0.7073, allocations: 0 / 494.8 MB, free: 13.36 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.973/3.68, allocations: 11.82 MB / 0.4947 GB, free: 1.559 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Continuous_SteadyState_res.mat does not exist to compare? outputFormat=mat