Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.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,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01118/0.01118, allocations: 103.8 kB / 15.05 MB, free: 6.027 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.001203/0.001202, allocations: 173.7 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.695/1.695, 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.2792/0.2792, allocations: 38.09 MB / 265.1 MB, free: 3.977 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004791/0.0004791, allocations: 12 kB / 323.6 MB, free: 29.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09536/0.09588, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.004398/0.1003, allocations: 2.607 MB / 374.9 MB, free: 10.24 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003758/0.1041, allocations: 1.376 MB / 376.3 MB, free: 8.855 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004317/0.1046, allocations: 19.88 kB / 376.3 MB, free: 8.836 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004693/0.1051, allocations: 87.41 kB / 376.4 MB, free: 8.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000671/0.1058, allocations: 179.4 kB / 376.6 MB, free: 8.574 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.1077, allocations: 459.1 kB / 377 MB, free: 8.125 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001282/0.109, allocations: 0.5537 MB / 377.6 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004395/0.1094, allocations: 165.9 kB / 377.7 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007015/0.1101, allocations: 314.7 kB / 378 MB, free: 7.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006484/0.1108, allocations: 306.5 kB / 378.3 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.093e-05/0.1109, allocations: 20 kB / 378.3 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.752e-05/0.111, allocations: 20 kB / 378.4 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002347/0.1113, allocations: 147.4 kB / 378.5 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.1114, allocations: 117.3 kB / 378.6 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000787/0.1122, allocations: 0.4948 MB / 379.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1122, allocations: 0 / 379.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1123, allocations: 0 / 379.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.1123, allocations: 0 / 379.1 MB, free: 5.988 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.003375/0.1157, allocations: 1.016 MB / 380.1 MB, free: 4.922 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.717e-05/0.1158, allocations: 8.031 kB / 380.1 MB, free: 4.914 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001647/0.1159, allocations: 78.53 kB / 380.2 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001974/0.1161, allocations: 91.05 kB / 380.3 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.1175, allocations: 498.5 kB / 380.8 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.105e-05/0.1176, allocations: 37 kB / 380.8 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.1178, allocations: 51.92 kB / 380.9 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.1196, allocations: 0.5366 MB / 381.4 MB, free: 3.559 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.989e-05/0.1196, allocations: 11.84 kB / 381.4 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.037e-05/0.1197, allocations: 16 kB / 381.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.103e-05/0.1198, allocations: 8 kB / 381.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00193/0.1217, allocations: 465.9 kB / 381.9 MB, free: 3.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005544/0.1273, allocations: 1.947 MB / 383.9 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/0.1295, allocations: 0.578 MB / 384.4 MB, free: 456 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-05/0.1296, allocations: 15.92 kB / 384.4 MB, free: 440 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.1296, allocations: 42.55 kB / 384.5 MB, free: 388 kB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 3.166e-06/0.1297, allocations: 0 / 384.5 MB, free: 388 kB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.004309/0.134, allocations: 1.162 MB / 385.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.665e-05/0.1341, allocations: 140.5 kB / 385.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.1354, allocations: 0.5901 MB / 386.4 MB, free: 14.44 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.147e-05/0.1355, allocations: 33.7 kB / 386.4 MB, free: 14.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003506/0.1359, allocations: 320.4 kB / 386.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/0.1361, allocations: 169.5 kB / 386.9 MB, free: 13.92 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.1361, allocations: 12 kB / 386.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.1364, allocations: 382.8 kB / 387.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001109/0.1375, allocations: 277 kB / 387.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/0.1387, allocations: 384.9 kB / 387.9 MB, free: 12.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.14, allocations: 312.5 kB / 388.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.14, allocations: 4 kB / 388.2 MB, free: 12.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002765/0.1428, allocations: 0.7634 MB / 389 MB, free: 11.76 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/0.1428, allocations: 15.98 kB / 389 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.1428, allocations: 7.984 kB / 389 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/0.1429, allocations: 4 kB / 389 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.1441, allocations: 143.8 kB / 389.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/0.1441, allocations: 12 kB / 389.2 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009285/0.1451, allocations: 87.53 kB / 389.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.353e-05/0.1452, allocations: 19.94 kB / 389.3 MB, free: 11.48 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.0003932/0.1456, allocations: 205.7 kB / 389.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000195/0.1458, allocations: 71.11 kB / 389.5 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.146, allocations: 81.64 kB / 389.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.146, allocations: 7.938 kB / 389.6 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.146, allocations: 4 kB / 389.6 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.1461, allocations: 7.984 kB / 389.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/0.148, allocations: 0.8259 MB / 390.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.148, allocations: 0 / 390.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/0.1493, allocations: 115.9 kB / 390.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.315e-05/0.1494, allocations: 4 kB / 390.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.531e-05/0.1495, allocations: 15.98 kB / 390.6 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-06/0.1495, allocations: 4 kB / 390.6 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.1495, allocations: 3.938 kB / 390.6 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003595/0.1531, allocations: 1.208 MB / 391.8 MB, free: 8.832 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004/0.1535, allocations: 192.2 kB / 392 MB, free: 8.625 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.1537, allocations: 19.98 kB / 392 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009491/0.1546, allocations: 59.94 kB / 392.1 MB, free: 8.547 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.1548, allocations: 39.89 kB / 392.1 MB, free: 8.508 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.151e-05/0.1549, allocations: 11.98 kB / 392.1 MB, free: 8.496 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009846/0.1559, allocations: 431 kB / 392.6 MB, free: 8.078 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1559, allocations: 0 / 392.6 MB, free: 8.078 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007434/0.1567, allocations: 108 kB / 392.7 MB, free: 7.973 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.003962/0.1606, allocations: 1.897 MB / 394.6 MB, free: 6.039 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002423/0.1631, allocations: 0.6139 MB / 395.2 MB, free: 5.426 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.1631, allocations: 0 / 395.2 MB, free: 5.426 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.1644, allocations: 302.9 kB / 395.5 MB, free: 5.133 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.1658, allocations: 153.4 kB / 395.6 MB, free: 4.988 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/0.1787, allocations: 6.159 MB / 401.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006621/0.1794, allocations: 0.9411 MB / 402.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006736/0.1801, allocations: 104.5 kB / 402.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005543/0.1807, allocations: 227.4 kB / 403 MB, free: 13.43 MB / 314.7 MB Notification: Performance of SimCode: time 1.513e-06/0.1807, allocations: 4 kB / 403 MB, free: 13.43 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04763/0.2283, allocations: 12.17 MB / 415.2 MB, free: 1.363 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003264/0.2287, allocations: 163.9 kB / 415.4 MB, free: 1.125 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.834/3.062, allocations: 0 / 415.4 MB, free: 1.125 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat