Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.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.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test71",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.01139/0.01139, allocations: 106.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.002855/0.002855, allocations: 178.2 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.083/2.083, allocations: 194.6 MB / 211.3 MB, free: 10.95 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.2607/0.2607, allocations: 40.04 MB / 296.5 MB, free: 6.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004521/0.0004521, allocations: 12 kB / 361.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1147, allocations: 54.86 MB / 416 MB, free: 9.008 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002435/0.1172, allocations: 1.423 MB / 417.4 MB, free: 7.562 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.1192, allocations: 0.9408 MB / 418.4 MB, free: 6.613 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.33e-05/0.1193, allocations: 7.938 kB / 418.4 MB, free: 6.605 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005873/0.1199, allocations: 275.5 kB / 418.7 MB, free: 6.336 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003954/0.1203, allocations: 175.7 kB / 418.8 MB, free: 6.164 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.1207, allocations: 103.6 kB / 418.9 MB, free: 6.062 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.121, allocations: 163.6 kB / 419.1 MB, free: 5.902 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.545e-05/0.1211, allocations: 17.53 kB / 419.1 MB, free: 5.887 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.1213, allocations: 111.7 kB / 419.2 MB, free: 5.777 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002764/0.1216, allocations: 143.6 kB / 419.4 MB, free: 5.637 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.1216, allocations: 4 kB / 419.4 MB, free: 5.633 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.1218, allocations: 51.91 kB / 419.4 MB, free: 5.582 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.122, allocations: 135.6 kB / 419.5 MB, free: 5.449 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.1221, allocations: 85.39 kB / 419.6 MB, free: 5.359 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004787/0.1226, allocations: 303.8 kB / 419.9 MB, free: 5.062 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.1226, allocations: 0 / 419.9 MB, free: 5.062 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1226, allocations: 0 / 419.9 MB, free: 5.062 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1226, allocations: 0 / 419.9 MB, free: 5.062 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001305/0.124, allocations: 0.7808 MB / 420.7 MB, free: 4.207 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.124, allocations: 8.031 kB / 420.7 MB, free: 4.199 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.468e-05/0.1241, allocations: 42.55 kB / 420.8 MB, free: 4.148 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.1242, allocations: 47.44 kB / 420.8 MB, free: 4.102 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007948/0.125, allocations: 419.1 kB / 421.2 MB, free: 3.648 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.125, allocations: 4 kB / 421.2 MB, free: 3.645 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.1251, allocations: 4 kB / 421.2 MB, free: 3.641 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.1254, allocations: 87.36 kB / 421.3 MB, free: 3.543 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1254, allocations: 0 / 421.3 MB, free: 3.543 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.1254, allocations: 11.89 kB / 421.3 MB, free: 3.531 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1254, allocations: 0 / 421.3 MB, free: 3.531 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.1256, allocations: 35.91 kB / 421.4 MB, free: 3.496 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.1262, allocations: 398.2 kB / 421.7 MB, free: 3.055 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/0.1266, allocations: 101.3 kB / 421.8 MB, free: 2.938 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.1266, allocations: 16.02 kB / 421.9 MB, free: 2.922 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00031/0.1269, allocations: 101.1 kB / 422 MB, free: 2.805 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 2.084e-06/0.127, allocations: 0 / 422 MB, free: 2.805 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007394/0.1277, allocations: 200.9 kB / 422.2 MB, free: 2.602 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.1278, allocations: 85.06 kB / 422.2 MB, free: 2.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/0.1295, allocations: 1.03 MB / 423.3 MB, free: 1.461 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.1295, allocations: 29.7 kB / 423.3 MB, free: 1.426 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000273/0.1298, allocations: 240.3 kB / 423.5 MB, free: 1.188 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.455e-05/0.1299, allocations: 27.64 kB / 423.6 MB, free: 1.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.805e-05/0.1299, allocations: 8 kB / 423.6 MB, free: 1.152 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.1301, allocations: 366.7 kB / 423.9 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.1303, allocations: 47.97 kB / 424 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.1305, allocations: 79.41 kB / 424 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.1308, allocations: 111.3 kB / 424.2 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.1308, allocations: 0 / 424.2 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006786/0.1315, allocations: 280.4 kB / 424.4 MB, free: 240 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.746e-05/0.1316, allocations: 67.39 kB / 424.5 MB, free: 160 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.1316, allocations: 4.062 kB / 424.5 MB, free: 156 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1316, allocations: 4 kB / 424.5 MB, free: 152 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.1318, allocations: 23.92 kB / 424.5 MB, free: 128 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.1319, allocations: 7.953 kB / 424.5 MB, free: 120 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.1321, allocations: 23.75 kB / 424.6 MB, free: 96 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.1321, allocations: 8 kB / 424.6 MB, free: 88 kB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.3368/0.4689, allocations: 218.4 kB / 424.8 MB, free: 16.37 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.469, allocations: 48.95 kB / 424.8 MB, free: 16.37 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.4691, allocations: 58.59 kB / 424.9 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.4692, allocations: 2.188 kB / 424.9 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.4692, allocations: 5.219 kB / 424.9 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.4692, allocations: 2.219 kB / 424.9 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004272/0.4696, allocations: 338.6 kB / 425.2 MB, free: 16.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4697, allocations: 0 / 425.2 MB, free: 16.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.661e-05/0.4697, allocations: 12.16 kB / 425.2 MB, free: 16.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.4698, allocations: 1.031 kB / 425.2 MB, free: 16.17 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.4698, allocations: 4.234 kB / 425.2 MB, free: 16.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.4698, allocations: 3.156 kB / 425.2 MB, free: 16.17 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.4698, allocations: 1.719 kB / 425.2 MB, free: 16.17 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005312/0.4704, allocations: 220.2 kB / 425.5 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.4706, allocations: 153.6 kB / 425.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.785e-05/0.4707, allocations: 7.266 kB / 425.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.4708, allocations: 7.531 kB / 425.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.4709, allocations: 9.344 kB / 425.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.4709, allocations: 7.188 kB / 425.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001319/0.4723, allocations: 0.7628 MB / 426.4 MB, free: 15.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4723, allocations: 0 / 426.4 MB, free: 15.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004625/0.4728, allocations: 59.36 kB / 426.5 MB, free: 15.86 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002235/0.475, allocations: 1.307 MB / 427.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006076/0.4756, allocations: 264.5 kB / 428 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4757, allocations: 0 / 428 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.4759, allocations: 47.86 kB / 428.1 MB, free: 14.76 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.4764, allocations: 53.88 kB / 428.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.4789, allocations: 1.843 MB / 430 MB, free: 13.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000475/0.4794, allocations: 0.8525 MB / 430.8 MB, free: 12.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002402/0.4797, allocations: 53.12 kB / 430.9 MB, free: 12.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.48, allocations: 142 kB / 431 MB, free: 12.73 MB / 314.7 MB Notification: Performance of SimCode: time 1.162e-06/0.48, allocations: 5.562 kB / 431 MB, free: 12.72 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03801/0.518, allocations: 8.021 MB / 439 MB, free: 11.23 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/0.5183, allocations: 247.9 kB / 439.3 MB, free: 10.9 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.502/3.021, allocations: 0 / 439.3 MB, free: 10.9 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat does not exist to compare? outputFormat=mat