Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.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_InitialState,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_Continuous_InitialState",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.01161/0.01161, allocations: 107.2 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.001266/0.001266, allocations: 178.5 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.078/2.078, allocations: 194.6 MB / 211.3 MB, free: 11 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.316/0.316, allocations: 40.04 MB / 296.5 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004711/0.0004712, allocations: 12 kB / 361.1 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1214, allocations: 54.88 MB / 416 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.004724/0.1262, allocations: 2.651 MB / 418.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004149/0.1304, allocations: 1.392 MB / 420.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005324/0.131, allocations: 15.88 kB / 420.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005216/0.1316, allocations: 83.47 kB / 420.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007216/0.1323, allocations: 183.3 kB / 420.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.134, allocations: 395.3 kB / 420.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001278/0.1353, allocations: 0.5343 MB / 421.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004288/0.1357, allocations: 165.1 kB / 421.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007078/0.1364, allocations: 298.8 kB / 421.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006035/0.1371, allocations: 298.5 kB / 422 MB, free: 12.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.1372, allocations: 20 kB / 422 MB, free: 12.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.1373, allocations: 20 kB / 422 MB, free: 12.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002408/0.1376, allocations: 139.5 kB / 422.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.1378, allocations: 129.3 kB / 422.3 MB, free: 12.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000839/0.1386, allocations: 0.4909 MB / 422.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1386, allocations: 4 kB / 422.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1386, allocations: 0 / 422.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.1387, allocations: 0 / 422.8 MB, free: 11.73 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.003458/0.1421, allocations: 1.012 MB / 423.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.1422, allocations: 8.031 kB / 423.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001956/0.1424, allocations: 78.52 kB / 423.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/0.1426, allocations: 83.06 kB / 424 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.144, allocations: 498.5 kB / 424.5 MB, free: 9.961 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.879e-05/0.1441, allocations: 44.94 kB / 424.5 MB, free: 9.914 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.1442, allocations: 51.86 kB / 424.6 MB, free: 9.863 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/0.146, allocations: 0.5404 MB / 425.1 MB, free: 9.293 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.1461, allocations: 4 kB / 425.1 MB, free: 9.289 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.036e-05/0.1462, allocations: 16 kB / 425.1 MB, free: 9.273 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.1462, allocations: 12 kB / 425.1 MB, free: 9.262 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.1481, allocations: 469.9 kB / 425.6 MB, free: 8.805 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005898/0.1541, allocations: 1.955 MB / 427.5 MB, free: 6.777 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002208/0.1564, allocations: 0.5819 MB / 428.1 MB, free: 6.168 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.251e-05/0.1565, allocations: 4 kB / 428.1 MB, free: 6.164 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.1565, allocations: 38.56 kB / 428.2 MB, free: 6.117 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.818e-06/0.1565, allocations: 7.938 kB / 428.2 MB, free: 6.109 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.004387/0.1609, allocations: 1.152 MB / 429.3 MB, free: 4.945 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.1611, allocations: 140.5 kB / 429.5 MB, free: 4.777 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.1625, allocations: 0.5822 MB / 430 MB, free: 4.184 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.1626, allocations: 37.7 kB / 430.1 MB, free: 4.141 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003574/0.163, allocations: 328.3 kB / 430.4 MB, free: 3.812 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002368/0.1632, allocations: 165.6 kB / 430.6 MB, free: 3.648 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.1633, allocations: 12 kB / 430.6 MB, free: 3.637 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.1635, allocations: 378.8 kB / 430.9 MB, free: 3.258 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.1647, allocations: 276.9 kB / 431.2 MB, free: 2.988 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.166, allocations: 388.8 kB / 431.6 MB, free: 2.566 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.1674, allocations: 316.7 kB / 431.9 MB, free: 2.262 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.1674, allocations: 0 / 431.9 MB, free: 2.262 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003034/0.1705, allocations: 0.7701 MB / 432.7 MB, free: 1.484 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005575/0.1711, allocations: 1.055 MB / 433.7 MB, free: 356 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.1711, allocations: 8 kB / 433.7 MB, free: 348 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.034e-05/0.1711, allocations: 11.89 kB / 433.8 MB, free: 336 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.1725, allocations: 147.8 kB / 433.9 MB, free: 188 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-05/0.1725, allocations: 4 kB / 433.9 MB, free: 184 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009881/0.1735, allocations: 91.62 kB / 434 MB, free: 92 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.375e-05/0.1736, allocations: 20 kB / 434 MB, free: 72 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1736, allocations: 4 kB / 434 MB, free: 68 kB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002521/0.1762, allocations: 0.6532 MB / 434.7 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.1762, allocations: 0 / 434.7 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.1763, allocations: 8 kB / 434.7 MB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.1775, allocations: 148 kB / 434.8 MB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.086e-05/0.1775, allocations: 7.938 kB / 434.8 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000934/0.1785, allocations: 75.64 kB / 434.9 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.662e-05/0.1786, allocations: 31.98 kB / 434.9 MB, free: 15.14 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 (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.0004729/0.1791, allocations: 272.9 kB / 435.2 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/0.1793, allocations: 67.16 kB / 435.3 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.1795, allocations: 85.62 kB / 435.3 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.006e-06/0.1795, allocations: 4 kB / 435.3 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.1796, allocations: 4 kB / 435.4 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.1796, allocations: 0 / 435.4 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002036/0.1816, allocations: 0.8374 MB / 436.2 MB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.1817, allocations: 0 / 436.2 MB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001373/0.183, allocations: 115.9 kB / 436.3 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/0.1831, allocations: 4 kB / 436.3 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.417e-05/0.1832, allocations: 12 kB / 436.3 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.137e-05/0.1832, allocations: 7.938 kB / 436.3 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1832, allocations: 0 / 436.3 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0037/0.1869, allocations: 1.203 MB / 437.5 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004483/0.1874, allocations: 188.4 kB / 437.7 MB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.1875, allocations: 12 kB / 437.7 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009802/0.1885, allocations: 67.89 kB / 437.8 MB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/0.1887, allocations: 35.94 kB / 437.8 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.126e-05/0.1888, allocations: 12 kB / 437.8 MB, free: 12.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009988/0.1898, allocations: 427 kB / 438.3 MB, free: 11.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1898, allocations: 0 / 438.3 MB, free: 11.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001125/0.191, allocations: 184 kB / 438.4 MB, free: 11.52 MB / 378.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 () * Number of clocked 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.004152/0.1951, allocations: 1.909 MB / 440.3 MB, free: 9.578 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00367/0.1989, allocations: 0.9585 MB / 441.3 MB, free: 8.621 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.1989, allocations: 192 / 441.3 MB, free: 8.621 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.2001, allocations: 300.1 kB / 441.6 MB, free: 8.328 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.2015, allocations: 150.3 kB / 441.7 MB, free: 8.188 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/0.2153, allocations: 6.162 MB / 447.9 MB, free: 1.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007312/0.2161, allocations: 0.9492 MB / 448.9 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009255/0.2171, allocations: 140.5 kB / 449 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005536/0.2176, allocations: 231.4 kB / 449.2 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.2176, allocations: 0 / 449.2 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3426/0.5603, allocations: 12.43 MB / 461.6 MB, free: 58.25 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002542/0.5606, allocations: 176.4 kB / 461.8 MB, free: 58.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.029/3.59, allocations: 2.906 kB / 461.8 MB, free: 58.02 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat