Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.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,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_Continuous",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.01262/0.01262, allocations: 106.9 kB / 15.06 MB, free: 6.023 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.001254/0.001265, allocations: 182.7 kB / 15.95 MB, free: 5.957 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 1.983/1.983, 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.2928/0.2928, allocations: 40.04 MB / 296.5 MB, free: 6.258 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009501/0.0009506, allocations: 11.98 kB / 361.1 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1231, allocations: 54.88 MB / 416 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.004839/0.128, allocations: 2.623 MB / 418.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004066/0.1321, allocations: 1.389 MB / 420 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006107/0.1328, allocations: 19.88 kB / 420 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005831/0.1334, allocations: 83.45 kB / 420.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009852/0.1344, allocations: 183.3 kB / 420.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.1363, allocations: 387.3 kB / 420.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001652/0.138, allocations: 0.5499 MB / 421.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005019/0.1386, allocations: 153.2 kB / 421.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008752/0.1395, allocations: 294.8 kB / 421.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007425/0.1402, allocations: 302.5 kB / 422 MB, free: 12.58 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001718/0.1404, allocations: 20 kB / 422 MB, free: 12.56 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.1406, allocations: 24 kB / 422 MB, free: 12.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002996/0.1409, allocations: 143.5 kB / 422.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.1411, allocations: 125.3 kB / 422.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008545/0.142, allocations: 0.4949 MB / 422.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.142, allocations: 0 / 422.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.142, allocations: 0 / 422.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.142, allocations: 0 / 422.8 MB, free: 11.77 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.003607/0.1456, allocations: 1.004 MB / 423.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/0.1457, allocations: 12.03 kB / 423.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002375/0.146, allocations: 82.52 kB / 423.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/0.1462, allocations: 83.06 kB / 423.9 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.1477, allocations: 0.4907 MB / 424.4 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.704e-05/0.1479, allocations: 44.94 kB / 424.5 MB, free: 9.953 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.148, allocations: 51.95 kB / 424.5 MB, free: 9.902 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/0.1503, allocations: 0.5365 MB / 425.1 MB, free: 9.336 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/0.1503, allocations: 3.906 kB / 425.1 MB, free: 9.332 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.418e-05/0.1504, allocations: 16 kB / 425.1 MB, free: 9.316 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.1505, allocations: 16 kB / 425.1 MB, free: 9.301 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002009/0.1525, allocations: 469.9 kB / 425.6 MB, free: 8.844 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006159/0.1587, allocations: 1.955 MB / 427.5 MB, free: 6.816 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002346/0.1611, allocations: 0.574 MB / 428.1 MB, free: 6.215 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.935e-05/0.1612, allocations: 4 kB / 428.1 MB, free: 6.211 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.81e-05/0.1613, allocations: 46.56 kB / 428.1 MB, free: 6.156 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.707e-06/0.1613, allocations: 0 / 428.1 MB, free: 6.156 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.004738/0.1661, allocations: 1.164 MB / 429.3 MB, free: 4.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.1662, allocations: 132.5 kB / 429.4 MB, free: 4.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/0.1677, allocations: 0.5862 MB / 430 MB, free: 4.223 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001387/0.1679, allocations: 33.7 kB / 430.1 MB, free: 4.184 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003955/0.1683, allocations: 328.3 kB / 430.4 MB, free: 3.855 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/0.1686, allocations: 165.6 kB / 430.5 MB, free: 3.691 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-05/0.1686, allocations: 12 kB / 430.5 MB, free: 3.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002401/0.1689, allocations: 382.8 kB / 430.9 MB, free: 3.297 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.1701, allocations: 276.9 kB / 431.2 MB, free: 3.027 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/0.1715, allocations: 392.8 kB / 431.6 MB, free: 2.602 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.173, allocations: 308.7 kB / 431.9 MB, free: 2.305 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.173, allocations: 0 / 431.9 MB, free: 2.305 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003206/0.1762, allocations: 0.7779 MB / 432.7 MB, free: 1.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006021/0.1769, allocations: 1.051 MB / 433.7 MB, free: 396 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.1769, allocations: 4 kB / 433.7 MB, free: 392 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.55e-05/0.177, allocations: 15.89 kB / 433.7 MB, free: 376 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.1783, allocations: 147.8 kB / 433.9 MB, free: 228 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.105e-05/0.1784, allocations: 4 kB / 433.9 MB, free: 224 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.1795, allocations: 87.62 kB / 434 MB, free: 136 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.706e-05/0.1796, allocations: 20 kB / 434 MB, free: 116 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1796, allocations: 4 kB / 434 MB, free: 112 kB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00268/0.1823, allocations: 0.657 MB / 434.6 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.1824, allocations: 4 kB / 434.6 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1824, allocations: 4 kB / 434.6 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.1837, allocations: 144 kB / 434.8 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.293e-05/0.1837, allocations: 11.94 kB / 434.8 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.1847, allocations: 79.64 kB / 434.9 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.984e-05/0.1849, allocations: 20 kB / 434.9 MB, free: 15.2 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.0005399/0.1854, allocations: 276.9 kB / 435.2 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/0.1857, allocations: 71.16 kB / 435.2 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.1859, allocations: 81.69 kB / 435.3 MB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.186, allocations: 7.984 kB / 435.3 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.186, allocations: 0 / 435.3 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.186, allocations: 3.984 kB / 435.3 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/0.1883, allocations: 0.8336 MB / 436.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.1883, allocations: 4 kB / 436.2 MB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001434/0.1898, allocations: 119.9 kB / 436.3 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.251e-05/0.1898, allocations: 0 / 436.3 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.838e-05/0.1899, allocations: 19.92 kB / 436.3 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.742e-06/0.1899, allocations: 0 / 436.3 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.1899, allocations: 4 kB / 436.3 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003681/0.1936, allocations: 1.203 MB / 437.5 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003952/0.194, allocations: 180.4 kB / 437.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.1942, allocations: 15.98 kB / 437.7 MB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000972/0.1952, allocations: 67.89 kB / 437.8 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/0.1954, allocations: 31.95 kB / 437.8 MB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.457e-05/0.1954, allocations: 19.92 kB / 437.8 MB, free: 12.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001021/0.1965, allocations: 423 kB / 438.2 MB, free: 11.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1965, allocations: 0 / 438.2 MB, free: 11.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001113/0.1976, allocations: 180 kB / 438.4 MB, free: 11.57 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.0043/0.2019, allocations: 1.913 MB / 440.3 MB, free: 9.617 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003779/0.2058, allocations: 0.9543 MB / 441.3 MB, free: 8.664 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.2058, allocations: 192 / 441.3 MB, free: 8.664 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001198/0.207, allocations: 300.5 kB / 441.6 MB, free: 8.371 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.2085, allocations: 150.3 kB / 441.7 MB, free: 8.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/0.2229, allocations: 6.162 MB / 447.9 MB, free: 1.953 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008174/0.2238, allocations: 0.9417 MB / 448.8 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000952/0.2248, allocations: 144.4 kB / 449 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005825/0.2254, allocations: 231.4 kB / 449.2 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of SimCode: time 1.523e-06/0.2254, allocations: 0 / 449.2 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3764/0.6018, allocations: 12.42 MB / 461.6 MB, free: 58.23 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002673/0.6021, allocations: 164.5 kB / 461.8 MB, free: 57.99 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.933/3.535, allocations: 0 / 461.8 MB, free: 57.99 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat