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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.525/2.525, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.258e-05/2.269e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3525, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1632/0.5158, allocations: 89.3 MB / 447.4 MB, free: 5.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.5161, allocations: 67.95 kB / 447.5 MB, free: 5.363 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4316/0.9477, allocations: 26.09 MB / 473.6 MB, free: 96.72 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.9478, allocations: 0 / 473.6 MB, free: 96.72 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.354e-05/0.9479, allocations: 18.75 kB / 473.6 MB, free: 96.72 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.002761/0.9507, allocations: 0.9133 MB / 474.5 MB, free: 96.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.9507, allocations: 9.625 kB / 474.5 MB, free: 96.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004311/0.9512, allocations: 85.59 kB / 474.6 MB, free: 96.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.9529, allocations: 0.5099 MB / 475.1 MB, free: 95.88 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.094e-05/0.953, allocations: 20.59 kB / 475.1 MB, free: 95.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.9532, allocations: 37.67 kB / 475.2 MB, free: 95.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001029/0.9542, allocations: 314.4 kB / 475.5 MB, free: 95.88 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.9553, allocations: 416.8 kB / 475.9 MB, free: 95.78 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/0.9554, allocations: 1.156 kB / 475.9 MB, free: 95.78 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.476e-05/0.9555, allocations: 5.062 kB / 475.9 MB, free: 95.78 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.9555, allocations: 18.08 kB / 475.9 MB, free: 95.78 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00555/0.9611, allocations: 1.869 MB / 477.8 MB, free: 95.08 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.9623, allocations: 450.7 kB / 478.2 MB, free: 95.01 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004176/0.9628, allocations: 184.5 kB / 478.4 MB, free: 94.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.297e-05/0.9629, allocations: 5.578 kB / 478.4 MB, free: 94.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.9629, allocations: 43.41 kB / 478.4 MB, free: 94.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 3.326e-06/0.9629, allocations: 3.562 kB / 478.4 MB, free: 94.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.002082/0.965, allocations: 0.7269 MB / 479.2 MB, free: 94.63 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.9651, allocations: 143.7 kB / 479.3 MB, free: 94.46 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000744/0.9659, allocations: 448.9 kB / 479.7 MB, free: 94.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001141/0.966, allocations: 29.61 kB / 479.8 MB, free: 94.22 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.9662, allocations: 343.9 kB / 480.1 MB, free: 93.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.9664, allocations: 163.8 kB / 480.3 MB, free: 93.78 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.662e-05/0.9665, allocations: 0 / 480.3 MB, free: 93.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.796e-05/0.9666, allocations: 336.8 kB / 480.6 MB, free: 93.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004749/0.9671, allocations: 190.2 kB / 480.8 MB, free: 93.38 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005162/0.9676, allocations: 293.4 kB / 481.1 MB, free: 93.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005187/0.9681, allocations: 210.3 kB / 481.3 MB, free: 93.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.9681, allocations: 0 / 481.3 MB, free: 93.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001311/0.9695, allocations: 0.5154 MB / 481.8 MB, free: 92.94 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002263/0.9697, allocations: 1.054 MB / 482.8 MB, free: 91.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.9697, allocations: 3.875 kB / 482.8 MB, free: 91.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.758e-05/0.9698, allocations: 3.781 kB / 482.9 MB, free: 91.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.9711, allocations: 152.2 kB / 483 MB, free: 91.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/0.9711, allocations: 12.97 kB / 483 MB, free: 91.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.9722, allocations: 83.78 kB / 483.1 MB, free: 91.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-05/0.9723, allocations: 19.53 kB / 483.1 MB, free: 91.78 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.9723, allocations: 3.719 kB / 483.1 MB, free: 91.78 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001183/0.9735, allocations: 469.1 kB / 483.6 MB, free: 91.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.9736, allocations: 3.656 kB / 483.6 MB, free: 91.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.9736, allocations: 7.844 kB / 483.6 MB, free: 91.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.9747, allocations: 150.4 kB / 483.7 MB, free: 91.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.9747, allocations: 7.781 kB / 483.7 MB, free: 91.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006064/0.9754, allocations: 61.09 kB / 483.8 MB, free: 91.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.806e-05/0.9754, allocations: 16.47 kB / 483.8 MB, free: 91.58 MB / 394.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.000193/0.9756, allocations: 115.9 kB / 483.9 MB, free: 91.46 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001251/0.9769, allocations: 438.7 kB / 484.4 MB, free: 91.29 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.9771, allocations: 62.12 kB / 484.4 MB, free: 91.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.9774, allocations: 69.83 kB / 484.5 MB, free: 91.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.9774, allocations: 11.06 kB / 484.5 MB, free: 91.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.9774, allocations: 0 / 484.5 MB, free: 91.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.9775, allocations: 3.938 kB / 484.5 MB, free: 91.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.979, allocations: 0.7258 MB / 485.2 MB, free: 90.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.979, allocations: 3.5 kB / 485.2 MB, free: 90.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/0.9804, allocations: 114 kB / 485.3 MB, free: 90.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.151e-05/0.9805, allocations: 3.469 kB / 485.3 MB, free: 90.76 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.129e-05/0.9806, allocations: 12.2 kB / 485.4 MB, free: 90.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.9806, allocations: 7.875 kB / 485.4 MB, free: 90.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.9806, allocations: 0 / 485.4 MB, free: 90.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.9823, allocations: 0.9321 MB / 486.3 MB, free: 90.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004052/0.9827, allocations: 194.5 kB / 486.5 MB, free: 90.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.9829, allocations: 10.3 kB / 486.5 MB, free: 90.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.9839, allocations: 57.45 kB / 486.6 MB, free: 90.01 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.9841, allocations: 36.36 kB / 486.6 MB, free: 90 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-05/0.9842, allocations: 18.58 kB / 486.6 MB, free: 90 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005699/0.9848, allocations: 350.6 kB / 486.9 MB, free: 89.83 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.9848, allocations: 3.938 kB / 487 MB, free: 89.83 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001169/0.986, allocations: 163 kB / 487.1 MB, free: 89.82 MB / 394.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.001939/0.9879, allocations: 1.636 MB / 488.7 MB, free: 88.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001758/0.9897, allocations: 0.6939 MB / 489.4 MB, free: 88.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.9898, allocations: 0 / 489.4 MB, free: 88.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005019/0.9903, allocations: 209.4 kB / 489.6 MB, free: 88.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.9917, allocations: 147.1 kB / 489.8 MB, free: 88.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003862/0.9956, allocations: 1.324 MB / 491.1 MB, free: 87.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/0.9962, allocations: 0.9455 MB / 492.1 MB, free: 86.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007063/0.9969, allocations: 232.1 kB / 492.3 MB, free: 86.49 MB / 394.7 MB Notification: Performance of SimCode: time 1.944e-06/0.997, allocations: 4 kB / 492.3 MB, free: 86.49 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.091/4.088, allocations: 10.56 MB / 0.4911 GB, free: 77.52 MB / 394.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