Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01118/0.01118, allocations: 109.3 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001249/0.00125, allocations: 178.1 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.11/2.11, allocations: 194.6 MB / 211.3 MB, free: 11.02 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2722/0.2722, allocations: 40.04 MB / 296.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006771/0.0006772, allocations: 12 kB / 361.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1386, allocations: 54.87 MB / 416 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004998/0.1436, allocations: 2.67 MB / 418.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003872/0.1476, allocations: 1.381 MB / 420.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004206/0.148, allocations: 19.88 kB / 420.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005182/0.1486, allocations: 83.45 kB / 420.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006734/0.1493, allocations: 187.3 kB / 420.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.1508, allocations: 383.3 kB / 420.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001268/0.1521, allocations: 0.5733 MB / 421.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004352/0.1525, allocations: 161.1 kB / 421.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006191/0.1532, allocations: 302.8 kB / 421.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005931/0.1538, allocations: 314.6 kB / 422.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.631e-05/0.1539, allocations: 20 kB / 422.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003393/0.1542, allocations: 119.7 kB / 422.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002226/0.1545, allocations: 131.5 kB / 422.3 MB, free: 12.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.1546, allocations: 125.3 kB / 422.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008862/0.1555, allocations: 0.5962 MB / 423 MB, free: 11.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1556, allocations: 0 / 423 MB, free: 11.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1556, allocations: 0 / 423 MB, free: 11.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.1556, allocations: 0 / 423 MB, free: 11.5 MB / 362.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.003283/0.1589, allocations: 1.02 MB / 424.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.1589, allocations: 8.031 kB / 424.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001339/0.1591, allocations: 74.53 kB / 424.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.1593, allocations: 79.06 kB / 424.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.1606, allocations: 0.4985 MB / 424.7 MB, free: 9.719 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.09e-05/0.1607, allocations: 29 kB / 424.7 MB, free: 9.688 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.1608, allocations: 59.86 kB / 424.8 MB, free: 9.629 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.1626, allocations: 0.5404 MB / 425.3 MB, free: 9.059 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.1626, allocations: 0 / 425.3 MB, free: 9.059 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.381e-05/0.1627, allocations: 16 kB / 425.4 MB, free: 9.043 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.1627, allocations: 16 kB / 425.4 MB, free: 9.027 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/0.1647, allocations: 473.8 kB / 425.8 MB, free: 8.566 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005489/0.1702, allocations: 1.943 MB / 427.8 MB, free: 6.551 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/0.1722, allocations: 0.5397 MB / 428.3 MB, free: 5.984 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.166e-05/0.1723, allocations: 4 kB / 428.3 MB, free: 5.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.432e-05/0.1724, allocations: 38.56 kB / 428.4 MB, free: 5.934 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 3.556e-06/0.1724, allocations: 3.938 kB / 428.4 MB, free: 5.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.004396/0.1768, allocations: 1.164 MB / 429.5 MB, free: 4.754 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.497e-05/0.1769, allocations: 132.5 kB / 429.7 MB, free: 4.594 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.1783, allocations: 0.5901 MB / 430.2 MB, free: 3.992 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.1784, allocations: 37.7 kB / 430.3 MB, free: 3.949 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/0.1787, allocations: 320.4 kB / 430.6 MB, free: 3.629 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/0.179, allocations: 177.4 kB / 430.8 MB, free: 3.453 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.417e-05/0.179, allocations: 12 kB / 430.8 MB, free: 3.441 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.1792, allocations: 386.7 kB / 431.2 MB, free: 3.055 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.1804, allocations: 289 kB / 431.4 MB, free: 2.773 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/0.1817, allocations: 400.9 kB / 431.8 MB, free: 2.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.183, allocations: 323.9 kB / 432.2 MB, free: 2.023 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.183, allocations: 0 / 432.2 MB, free: 2.023 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002972/0.186, allocations: 0.7976 MB / 432.9 MB, free: 1.223 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005112/0.1866, allocations: 1.059 MB / 434 MB, free: 84 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.1866, allocations: 7.938 kB / 434 MB, free: 76 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.1866, allocations: 4 kB / 434 MB, free: 72 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/0.1883, allocations: 203.8 kB / 434.2 MB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.646e-05/0.1884, allocations: 7.953 kB / 434.2 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009845/0.1894, allocations: 91.53 kB / 434.3 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.028e-05/0.1895, allocations: 20 kB / 434.3 MB, free: 15.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1895, allocations: 4 kB / 434.3 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002556/0.1921, allocations: 0.6752 MB / 435 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.1921, allocations: 4 kB / 435 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1921, allocations: 4.281 kB / 435 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/0.1938, allocations: 191.8 kB / 435.2 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-05/0.1938, allocations: 8 kB / 435.2 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009588/0.1948, allocations: 83.62 kB / 435.3 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.766e-05/0.1949, allocations: 16 kB / 435.3 MB, free: 14.77 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 1 * 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.0004722/0.1954, allocations: 280.9 kB / 435.6 MB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.1956, allocations: 67.16 kB / 435.7 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.1959, allocations: 93.62 kB / 435.7 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.1959, allocations: 4 kB / 435.7 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.1959, allocations: 0 / 435.7 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.1959, allocations: 4 kB / 435.8 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003236/0.1992, allocations: 1.248 MB / 437 MB, free: 13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.1992, allocations: 4 kB / 437 MB, free: 13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001389/0.2006, allocations: 111.9 kB / 437.1 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.2007, allocations: 4 kB / 437.1 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.199e-05/0.2008, allocations: 20.05 kB / 437.1 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/0.2008, allocations: 8 kB / 437.1 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.2008, allocations: 3.938 kB / 437.1 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003812/0.2046, allocations: 1.258 MB / 438.4 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004442/0.2051, allocations: 204.1 kB / 438.6 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.2053, allocations: 12 kB / 438.6 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009709/0.2062, allocations: 67.94 kB / 438.7 MB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.2064, allocations: 39.88 kB / 438.7 MB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.532e-05/0.2065, allocations: 16 kB / 438.7 MB, free: 11.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009916/0.2075, allocations: 423 kB / 439.2 MB, free: 10.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.2075, allocations: 0 / 439.2 MB, free: 10.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001213/0.2088, allocations: 204 kB / 439.4 MB, free: 10.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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.004363/0.2131, allocations: 2.115 MB / 441.5 MB, free: 8.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003814/0.217, allocations: 0.9896 MB / 442.5 MB, free: 7.441 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.217, allocations: 0 / 442.5 MB, free: 7.441 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.2183, allocations: 316.2 kB / 442.8 MB, free: 7.133 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.2197, allocations: 158 kB / 442.9 MB, free: 6.984 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/0.233, allocations: 6.233 MB / 449.2 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2831/0.5162, allocations: 0.9443 MB / 450.1 MB, free: 58.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009056/0.5172, allocations: 144.4 kB / 450.2 MB, free: 58.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005247/0.5177, allocations: 235.6 kB / 450.5 MB, free: 58.73 MB / 378.7 MB Notification: Performance of SimCode: time 1.353e-06/0.5177, allocations: 0 / 450.5 MB, free: 58.73 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04985/0.5676, allocations: 13.38 MB / 463.8 MB, free: 58.01 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/0.5678, allocations: 190.6 kB / 464 MB, free: 57.76 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.104/3.671, allocations: 0 / 464 MB, free: 57.76 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat does not exist to compare? outputFormat=mat