Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.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_InitialState,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01122/0.01122, allocations: 106 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.1.mo): time 0.001188/0.001187, allocations: 166.4 kB / 15.93 MB, free: 5.527 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.779/1.779, allocations: 170.9 MB / 187.5 MB, free: 0.8555 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.2547/0.2547, allocations: 38.09 MB / 265.1 MB, free: 3.938 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000467/0.0004672, allocations: 15.98 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1174, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.004647/0.1221, allocations: 2.635 MB / 374.9 MB, free: 10.2 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003882/0.126, allocations: 1.384 MB / 376.3 MB, free: 8.812 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004897/0.1266, allocations: 11.94 kB / 376.3 MB, free: 8.801 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004946/0.1271, allocations: 91.34 kB / 376.4 MB, free: 8.711 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007127/0.1278, allocations: 179.4 kB / 376.6 MB, free: 8.535 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.1298, allocations: 459.1 kB / 377 MB, free: 8.086 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00144/0.1312, allocations: 0.5616 MB / 377.6 MB, free: 7.523 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004336/0.1317, allocations: 160.8 kB / 377.7 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007746/0.1325, allocations: 318.7 kB / 378.1 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006245/0.1331, allocations: 298.5 kB / 378.4 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.1332, allocations: 20 kB / 378.4 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.1333, allocations: 20 kB / 378.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002839/0.1336, allocations: 155.4 kB / 378.5 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002018/0.1339, allocations: 121.3 kB / 378.7 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008013/0.1347, allocations: 0.491 MB / 379.2 MB, free: 5.941 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1347, allocations: 0 / 379.2 MB, free: 5.941 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1347, allocations: 3.938 kB / 379.2 MB, free: 5.938 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.1347, allocations: 0 / 379.2 MB, free: 5.938 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.003381/0.1381, allocations: 1.012 MB / 380.2 MB, free: 4.875 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.1382, allocations: 8.031 kB / 380.2 MB, free: 4.867 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000171/0.1384, allocations: 82.52 kB / 380.3 MB, free: 4.777 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.1386, allocations: 79.06 kB / 380.3 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.1399, allocations: 0.4946 MB / 380.8 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.916e-05/0.14, allocations: 40.98 kB / 380.9 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.1401, allocations: 51.91 kB / 380.9 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.1419, allocations: 0.5365 MB / 381.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.1419, allocations: 4 kB / 381.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.912e-05/0.142, allocations: 16 kB / 381.5 MB, free: 3.488 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.1421, allocations: 8 kB / 381.5 MB, free: 3.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.144, allocations: 473.8 kB / 381.9 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005665/0.1496, allocations: 1.943 MB / 383.9 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0022/0.1519, allocations: 0.578 MB / 384.5 MB, free: 408 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.214e-05/0.152, allocations: 11.95 kB / 384.5 MB, free: 396 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.1521, allocations: 46.59 kB / 384.5 MB, free: 340 kB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 3.767e-06/0.1521, allocations: 0 / 384.5 MB, free: 340 kB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.004476/0.1566, allocations: 1.156 MB / 385.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.91e-05/0.1567, allocations: 140.4 kB / 385.8 MB, free: 15 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.1582, allocations: 0.5901 MB / 386.4 MB, free: 14.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001499/0.1584, allocations: 41.7 kB / 386.4 MB, free: 14.35 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/0.1588, allocations: 324.3 kB / 386.8 MB, free: 14.03 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000265/0.1591, allocations: 165.6 kB / 386.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/0.1591, allocations: 8 kB / 386.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002344/0.1594, allocations: 386.8 kB / 387.3 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/0.161, allocations: 277 kB / 387.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/0.1628, allocations: 380.9 kB / 388 MB, free: 12.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.1641, allocations: 313.1 kB / 388.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.1641, allocations: 0 / 388.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002924/0.167, allocations: 0.7749 MB / 389 MB, free: 11.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.1671, allocations: 4 kB / 389 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.1671, allocations: 4 kB / 389 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.417e-05/0.1672, allocations: 4 kB / 389 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.1684, allocations: 152 kB / 389.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.946e-05/0.1685, allocations: 7.984 kB / 389.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009555/0.1694, allocations: 91.53 kB / 389.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-05/0.1695, allocations: 20 kB / 389.3 MB, free: 11.43 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 (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.0004623/0.17, allocations: 201.6 kB / 389.5 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/0.1702, allocations: 71.11 kB / 389.6 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.1705, allocations: 85.64 kB / 389.7 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.1705, allocations: 8 kB / 389.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.1705, allocations: 0 / 389.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.1705, allocations: 3.984 kB / 389.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002051/0.1726, allocations: 0.8298 MB / 390.5 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.1726, allocations: 8 kB / 390.5 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/0.174, allocations: 107.9 kB / 390.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/0.174, allocations: 0 / 390.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-05/0.1741, allocations: 19.98 kB / 390.6 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.1741, allocations: 0 / 390.6 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.1742, allocations: 8 kB / 390.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003896/0.1781, allocations: 1.211 MB / 391.9 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004583/0.1786, allocations: 188.2 kB / 392 MB, free: 8.578 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.1787, allocations: 15.98 kB / 392.1 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.1798, allocations: 63.94 kB / 392.1 MB, free: 8.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/0.18, allocations: 39.89 kB / 392.2 MB, free: 8.461 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-05/0.18, allocations: 15.98 kB / 392.2 MB, free: 8.445 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001057/0.1811, allocations: 419 kB / 392.6 MB, free: 8.039 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1811, allocations: 0 / 392.6 MB, free: 8.039 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008205/0.1819, allocations: 108 kB / 392.7 MB, free: 7.934 MB / 298.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.004309/0.1863, allocations: 1.902 MB / 394.6 MB, free: 5.996 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002549/0.1889, allocations: 0.614 MB / 395.2 MB, free: 5.383 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.1889, allocations: 0 / 395.2 MB, free: 5.383 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001252/0.1902, allocations: 302.8 kB / 395.5 MB, free: 5.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.1917, allocations: 164.4 kB / 395.7 MB, free: 4.938 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/0.2061, allocations: 6.154 MB / 401.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000764/0.2069, allocations: 0.9529 MB / 402.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007035/0.2077, allocations: 100.5 kB / 402.9 MB, free: 13.6 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005749/0.2083, allocations: 227.4 kB / 403.1 MB, free: 13.38 MB / 314.7 MB Notification: Performance of SimCode: time 1.162e-06/0.2083, allocations: 0 / 403.1 MB, free: 13.38 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04988/0.2582, allocations: 12.18 MB / 415.3 MB, free: 1.309 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003584/0.2586, allocations: 179.5 kB / 415.4 MB, free: 1.066 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.802/3.061, allocations: 0 / 415.4 MB, free: 1.066 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat