Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test27",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.01616/0.01616, allocations: 106.2 kB / 15.06 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.2.mo): time 0.001903/0.001903, allocations: 181.7 kB / 15.95 MB, free: 5.953 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.167/2.167, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.2698/0.2698, allocations: 40.04 MB / 296.5 MB, free: 6.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006428/0.0006433, allocations: 12 kB / 361.1 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1196, allocations: 54.89 MB / 416 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002535/0.1222, allocations: 1.341 MB / 417.4 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.124, allocations: 0.7189 MB / 418.1 MB, free: 456 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.943e-05/0.1241, allocations: 4 kB / 418.1 MB, free: 452 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.1244, allocations: 27.89 kB / 418.1 MB, free: 424 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.1246, allocations: 39.83 kB / 418.2 MB, free: 384 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.1248, allocations: 51.83 kB / 418.2 MB, free: 332 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.125, allocations: 63.84 kB / 418.3 MB, free: 268 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.9e-05/0.1251, allocations: 8 kB / 418.3 MB, free: 260 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.1252, allocations: 31.86 kB / 418.3 MB, free: 228 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.786e-05/0.1253, allocations: 35.83 kB / 418.4 MB, free: 192 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.1254, allocations: 8 kB / 418.4 MB, free: 184 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.1255, allocations: 20 kB / 418.4 MB, free: 164 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.901e-05/0.1256, allocations: 19.92 kB / 418.4 MB, free: 144 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.286e-05/0.1256, allocations: 33.7 kB / 418.4 MB, free: 104 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.1258, allocations: 92.02 kB / 418.5 MB, free: 12 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1259, allocations: 3.938 kB / 418.5 MB, free: 8 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1259, allocations: 0 / 418.5 MB, free: 8 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.738e-06/0.1259, allocations: 0 / 418.5 MB, free: 8 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006448/0.1265, allocations: 442.4 kB / 419 MB, free: 15.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.1266, allocations: 16.03 kB / 419 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.192e-05/0.1266, allocations: 34.56 kB / 419 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.1267, allocations: 7.906 kB / 419 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.127, allocations: 198.9 kB / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.127, allocations: 0 / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.1271, allocations: 7.953 kB / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.1273, allocations: 53.67 kB / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.1273, allocations: 3.938 kB / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.1274, allocations: 4 kB / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.1274, allocations: 4 kB / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.1276, allocations: 19.98 kB / 419.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009555/0.1285, allocations: 300.8 kB / 419.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.1289, allocations: 62.55 kB / 419.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.129, allocations: 4 kB / 419.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002297/0.1292, allocations: 71.52 kB / 419.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.315e-06/0.1292, allocations: 0 / 419.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007628/0.13, allocations: 177.2 kB / 419.9 MB, free: 14.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.13, allocations: 51.41 kB / 420 MB, free: 14.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.1303, allocations: 182.2 kB / 420.1 MB, free: 14.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.1303, allocations: 25.7 kB / 420.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.82e-05/0.1304, allocations: 96.12 kB / 420.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.1305, allocations: 31.64 kB / 420.3 MB, free: 14.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/0.1305, allocations: 11.94 kB / 420.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1306, allocations: 322.8 kB / 420.6 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.1308, allocations: 27.98 kB / 420.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.1309, allocations: 49.7 kB / 420.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.1311, allocations: 61.7 kB / 420.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.1311, allocations: 0 / 420.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003712/0.1315, allocations: 159.2 kB / 420.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.022e-05/0.1316, allocations: 37.69 kB / 420.9 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1316, allocations: 0 / 420.9 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1316, allocations: 3.984 kB / 420.9 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.1317, allocations: 19.92 kB / 421 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.1318, allocations: 8.062 kB / 421 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.35e-05/0.1319, allocations: 8 kB / 421 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.1319, allocations: 4 kB / 421 MB, free: 13.29 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001312/0.132, allocations: 129.8 kB / 421.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.1321, allocations: 11.81 kB / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.103e-05/0.1321, allocations: 16.72 kB / 421.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1321, allocations: 0 / 421.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1322, allocations: 0 / 421.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.1322, allocations: 0 / 421.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006031/0.1328, allocations: 395.3 kB / 421.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1328, allocations: 0 / 421.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.213e-05/0.1329, allocations: 16.02 kB / 421.5 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.1329, allocations: 3.938 kB / 421.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.1329, allocations: 8 kB / 421.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1329, allocations: 3.938 kB / 421.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1329, allocations: 0 / 421.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.1333, allocations: 214 kB / 421.8 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.315e-05/0.1334, allocations: 100.9 kB / 421.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.1334, allocations: 4 kB / 421.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.1335, allocations: 8.359 kB / 421.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.1336, allocations: 0 / 421.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.1336, allocations: 4 kB / 421.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001553/0.1338, allocations: 144.1 kB / 422 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1338, allocations: 0 / 422 MB, free: 12.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003625/0.1342, allocations: 28 kB / 422 MB, free: 12.12 MB / 362.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0018/0.136, allocations: 1.153 MB / 423.2 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003577/0.1364, allocations: 151.3 kB / 423.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1364, allocations: 3.938 kB / 423.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.1365, allocations: 39.91 kB / 423.4 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.1368, allocations: 19.94 kB / 423.4 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009248/0.1378, allocations: 0.6131 MB / 424 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.1381, allocations: 0.7083 MB / 424.7 MB, free: 9.387 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.532e-05/0.1382, allocations: 12.42 kB / 424.7 MB, free: 9.375 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.251e-05/0.1383, allocations: 31.42 kB / 424.8 MB, free: 9.344 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1383, allocations: 0 / 424.8 MB, free: 9.344 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.1607, allocations: 2.857 MB / 427.6 MB, free: 6.5 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003514/0.1611, allocations: 250.2 kB / 427.9 MB, free: 6.164 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/2.502, allocations: 0 / 427.9 MB, free: 6.164 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat does not exist to compare? outputFormat=mat