Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.0124/0.0124, allocations: 104.5 kB / 15.05 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001624/0.001624, allocations: 170.2 kB / 15.93 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.711/1.711, allocations: 170.9 MB / 187.5 MB, free: 1.012 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2558/0.2558, allocations: 38.09 MB / 265.1 MB, free: 3.977 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006576/0.000658, allocations: 8 kB / 323.6 MB, free: 29.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1198, allocations: 48.72 MB / 372.3 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.005677/0.1256, allocations: 2.639 MB / 374.9 MB, free: 10.21 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004814/0.1305, allocations: 1.38 MB / 376.3 MB, free: 8.824 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006572/0.1312, allocations: 15.88 kB / 376.3 MB, free: 8.809 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006606/0.1319, allocations: 95.33 kB / 376.4 MB, free: 8.715 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.1331, allocations: 171.5 kB / 376.6 MB, free: 8.547 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003112/0.1362, allocations: 459.1 kB / 377 MB, free: 8.098 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002355/0.1386, allocations: 0.5927 MB / 377.6 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006814/0.1393, allocations: 165.9 kB / 377.8 MB, free: 7.332 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.1405, allocations: 318.7 kB / 378.1 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000947/0.1415, allocations: 314.5 kB / 378.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000185/0.1417, allocations: 20 kB / 378.4 MB, free: 6.691 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004763/0.1422, allocations: 115.8 kB / 378.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003284/0.1426, allocations: 139.5 kB / 378.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002602/0.1428, allocations: 125.3 kB / 378.8 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.1442, allocations: 0.5846 MB / 379.4 MB, free: 5.727 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1443, allocations: 0 / 379.4 MB, free: 5.727 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1443, allocations: 4 kB / 379.4 MB, free: 5.723 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.902e-05/0.1443, allocations: 0 / 379.4 MB, free: 5.723 MB / 282.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.00493/0.1493, allocations: 1.02 MB / 380.4 MB, free: 4.652 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.718e-05/0.1494, allocations: 12.03 kB / 380.4 MB, free: 4.641 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002651/0.1496, allocations: 78.52 kB / 380.5 MB, free: 4.555 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003139/0.15, allocations: 79.06 kB / 380.6 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/0.1521, allocations: 0.5024 MB / 381.1 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.054e-05/0.1522, allocations: 32.98 kB / 381.1 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/0.1524, allocations: 55.91 kB / 381.2 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00264/0.1551, allocations: 0.5326 MB / 381.7 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.041e-05/0.1552, allocations: 4 kB / 381.7 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.1553, allocations: 16 kB / 381.7 MB, free: 3.266 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.692e-05/0.1554, allocations: 12 kB / 381.7 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002821/0.1582, allocations: 465.9 kB / 382.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008103/0.1664, allocations: 1.939 MB / 384.1 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002758/0.1692, allocations: 0.5347 MB / 384.7 MB, free: 232 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.383e-05/0.1693, allocations: 7.984 kB / 384.7 MB, free: 224 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.981e-05/0.1694, allocations: 39 kB / 384.7 MB, free: 176 kB / 282.7 MB Notification: Performance of pre-optimization done (n=44): time 4.528e-06/0.1694, allocations: 0 / 384.7 MB, free: 176 kB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.006668/0.1761, allocations: 1.171 MB / 385.9 MB, free: 14.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.1763, allocations: 136.5 kB / 386 MB, free: 14.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/0.1782, allocations: 0.594 MB / 386.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001596/0.1784, allocations: 33.7 kB / 386.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005082/0.1789, allocations: 324.3 kB / 386.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003348/0.1793, allocations: 181.4 kB / 387.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.493e-05/0.1794, allocations: 8 kB / 387.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002791/0.1797, allocations: 378.8 kB / 387.5 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00173/0.1814, allocations: 292.9 kB / 387.8 MB, free: 13.01 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00195/0.1834, allocations: 404.8 kB / 388.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001854/0.1853, allocations: 317 kB / 388.5 MB, free: 12.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.1853, allocations: 0 / 388.5 MB, free: 12.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.004139/0.1895, allocations: 0.7977 MB / 389.3 MB, free: 11.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/0.1896, allocations: 12.03 kB / 389.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/0.1896, allocations: 7.953 kB / 389.3 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.879e-05/0.1897, allocations: 4 kB / 389.3 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0024/0.1921, allocations: 195.8 kB / 389.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.606e-05/0.1921, allocations: 11.94 kB / 389.5 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.1936, allocations: 87.62 kB / 389.6 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.1937, allocations: 24 kB / 389.6 MB, free: 11.12 MB / 298.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.0005971/0.1943, allocations: 201.6 kB / 389.8 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003654/0.1947, allocations: 67.16 kB / 389.9 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003601/0.1951, allocations: 85.64 kB / 390 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.997e-05/0.1951, allocations: 11.95 kB / 390 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.1952, allocations: 0 / 390 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/0.1952, allocations: 3.984 kB / 390 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004712/0.1999, allocations: 1.248 MB / 391.2 MB, free: 9.434 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/0.2, allocations: 3.953 kB / 391.2 MB, free: 9.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00188/0.2019, allocations: 119.9 kB / 391.4 MB, free: 9.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.829e-05/0.202, allocations: 7.938 kB / 391.4 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/0.2021, allocations: 15.98 kB / 391.4 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.226e-05/0.2021, allocations: 4 kB / 391.4 MB, free: 9.285 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.2021, allocations: 0 / 391.4 MB, free: 9.285 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005437/0.2076, allocations: 1.261 MB / 392.6 MB, free: 7.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00066/0.2083, allocations: 192.3 kB / 392.8 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002259/0.2086, allocations: 16 kB / 392.9 MB, free: 7.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/0.21, allocations: 63.94 kB / 392.9 MB, free: 7.695 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002555/0.2103, allocations: 43.89 kB / 393 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.622e-05/0.2104, allocations: 12 kB / 393 MB, free: 7.641 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001465/0.2119, allocations: 423 kB / 393.4 MB, free: 7.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.72e-07/0.2119, allocations: 0 / 393.4 MB, free: 7.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001484/0.2134, allocations: 136 kB / 393.5 MB, free: 7.098 MB / 298.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.006415/0.2199, allocations: 2.131 MB / 395.6 MB, free: 4.922 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003518/0.2235, allocations: 0.6228 MB / 396.3 MB, free: 4.301 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.707e-06/0.2235, allocations: 0 / 396.3 MB, free: 4.301 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001732/0.2253, allocations: 316 kB / 396.6 MB, free: 3.992 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/0.2273, allocations: 160 kB / 396.7 MB, free: 3.844 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01861/0.246, allocations: 6.259 MB / 403 MB, free: 13.47 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009674/0.247, allocations: 0.9489 MB / 403.9 MB, free: 12.5 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009158/0.2479, allocations: 104.4 kB / 404 MB, free: 12.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007927/0.2488, allocations: 231.4 kB / 404.3 MB, free: 12.17 MB / 314.7 MB Notification: Performance of SimCode: time 1.372e-06/0.2488, allocations: 0 / 404.3 MB, free: 12.17 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0658/0.3146, allocations: 13.13 MB / 417.4 MB, free: 15.14 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003365/0.315, allocations: 188.5 kB / 417.6 MB, free: 14.89 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.014/3.329, allocations: 4.062 kB / 417.6 MB, free: 14.89 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat does not exist to compare? outputFormat=mat