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_InitialState.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_InitialState,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.372/2.372, allocations: 235 MB / 248.1 MB, free: 14.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.223e-05/4.248e-05, allocations: 8 kB / 309.8 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4101, allocations: 54.85 MB / 364.6 MB, free: 5.418 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1657/0.5759, allocations: 89.97 MB / 454.6 MB, free: 6.426 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.5762, allocations: 64.81 kB / 454.6 MB, free: 6.363 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1309/0.7072, allocations: 26.28 MB / 480.9 MB, free: 12.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.7072, allocations: 0 / 480.9 MB, free: 12.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.345e-05/0.7073, allocations: 23.94 kB / 480.9 MB, free: 12.01 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.002971/0.7103, allocations: 0.9077 MB / 481.9 MB, free: 11.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.7104, allocations: 8.031 kB / 481.9 MB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001848/0.7106, allocations: 74.53 kB / 481.9 MB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002843/0.7109, allocations: 83.06 kB / 482 MB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/0.7124, allocations: 0.52 MB / 482.5 MB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.76e-05/0.7125, allocations: 32.78 kB / 482.6 MB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.7126, allocations: 48 kB / 482.6 MB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.7139, allocations: 484 kB / 483.1 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.714, allocations: 0 / 483.1 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.375e-05/0.714, allocations: 16 kB / 483.1 MB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.7141, allocations: 8 kB / 483.1 MB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.7151, allocations: 342 kB / 483.4 MB, free: 9.383 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005823/0.721, allocations: 1.968 MB / 485.4 MB, free: 7.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.7224, allocations: 475.8 kB / 485.9 MB, free: 6.848 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005218/0.723, allocations: 198.5 kB / 486.1 MB, free: 6.645 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-05/0.723, allocations: 11.98 kB / 486.1 MB, free: 6.633 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.7231, allocations: 38.56 kB / 486.1 MB, free: 6.586 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 3.406e-06/0.7231, allocations: 0 / 486.1 MB, free: 6.586 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.002296/0.7254, allocations: 0.7624 MB / 486.9 MB, free: 5.812 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.7256, allocations: 140.5 kB / 487 MB, free: 5.645 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009797/0.7265, allocations: 0.4918 MB / 487.5 MB, free: 5.148 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.55e-05/0.7267, allocations: 33.7 kB / 487.5 MB, free: 5.109 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003093/0.727, allocations: 342.8 kB / 487.9 MB, free: 4.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/0.7272, allocations: 169.5 kB / 488 MB, free: 4.602 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.7273, allocations: 12 kB / 488.1 MB, free: 4.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.7274, allocations: 330.9 kB / 488.4 MB, free: 4.258 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00059/0.728, allocations: 197.1 kB / 488.6 MB, free: 4.066 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006877/0.7287, allocations: 301 kB / 488.9 MB, free: 3.734 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006772/0.7294, allocations: 236.4 kB / 489.1 MB, free: 3.508 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.7295, allocations: 0 / 489.1 MB, free: 3.508 MB / 410.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001588/0.7311, allocations: 0.5613 MB / 489.7 MB, free: 2.941 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004831/0.7316, allocations: 1.059 MB / 490.7 MB, free: 1.801 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.7316, allocations: 8 kB / 490.7 MB, free: 1.793 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/0.7316, allocations: 4 kB / 490.7 MB, free: 1.789 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.733, allocations: 147.8 kB / 490.9 MB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.199e-05/0.7331, allocations: 7.984 kB / 490.9 MB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.7342, allocations: 87.62 kB / 491 MB, free: 1.551 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.437e-05/0.7343, allocations: 20 kB / 491 MB, free: 1.531 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.7344, allocations: 4 kB / 491 MB, free: 1.527 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001546/0.7359, allocations: 0.5229 MB / 491.5 MB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.7359, allocations: 4 kB / 491.5 MB, free: 1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.736, allocations: 8 kB / 491.5 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.7372, allocations: 144.1 kB / 491.7 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.7372, allocations: 4 kB / 491.7 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006395/0.7379, allocations: 71.59 kB / 491.7 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.324e-05/0.7379, allocations: 24 kB / 491.8 MB, free: 0.7539 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 (68): * Single equations (assignments): 68 * 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 prepare postOptimizeDAE: time 0.0002341/0.7382, allocations: 136.8 kB / 491.9 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003946/0.7386, allocations: 67.16 kB / 492 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003421/0.7389, allocations: 81.42 kB / 492 MB, free: 476 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.739, allocations: 4 kB / 492 MB, free: 472 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.739, allocations: 0 / 492 MB, free: 472 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/0.739, allocations: 7.984 kB / 492.1 MB, free: 464 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002517/0.7416, allocations: 0.7907 MB / 492.8 MB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.7416, allocations: 4 kB / 492.8 MB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/0.7433, allocations: 111.9 kB / 493 MB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/0.7433, allocations: 0 / 493 MB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-05/0.7434, allocations: 23.92 kB / 493 MB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-05/0.7435, allocations: 8 kB / 493 MB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.7435, allocations: 3.953 kB / 493 MB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002764/0.7463, allocations: 0.9648 MB / 494 MB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005256/0.7468, allocations: 192.3 kB / 494.1 MB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/0.747, allocations: 19.98 kB / 494.2 MB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/0.7485, allocations: 59.94 kB / 494.2 MB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/0.7487, allocations: 35.95 kB / 494.3 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.338e-05/0.7488, allocations: 15.98 kB / 494.3 MB, free: 14.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001113/0.7499, allocations: 399.2 kB / 494.7 MB, free: 13.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.7499, allocations: 3.938 kB / 494.7 MB, free: 13.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001788/0.7517, allocations: 192 kB / 494.9 MB, free: 13.54 MB / 426.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.003761/0.7555, allocations: 1.679 MB / 496.5 MB, free: 11.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003079/0.7586, allocations: 0.7346 MB / 497.3 MB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.7587, allocations: 0 / 497.3 MB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008513/0.7595, allocations: 221.6 kB / 497.5 MB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.7613, allocations: 151.1 kB / 497.6 MB, free: 10.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005375/0.7667, allocations: 1.357 MB / 499 MB, free: 9.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009883/0.7678, allocations: 0.9455 MB / 499.9 MB, free: 8.348 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009846/0.7688, allocations: 235.4 kB / 0.4884 GB, free: 8.117 MB / 426.7 MB Notification: Performance of SimCode: time 1.403e-06/0.7688, allocations: 0 / 0.4884 GB, free: 8.117 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.041/3.81, allocations: 10.69 MB / 0.4989 GB, free: 13.44 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat