Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test33",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.01132/0.01133, allocations: 106.7 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.001238/0.001238, 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 1.92/1.92, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.2617/0.2617, allocations: 40.04 MB / 296.5 MB, free: 6.285 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004549/0.000455, allocations: 12 kB / 361.2 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1213, allocations: 54.88 MB / 416 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.00237/0.1237, allocations: 1.349 MB / 417.4 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.1253, allocations: 0.7228 MB / 418.1 MB, free: 464 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.685e-05/0.1254, allocations: 3.938 kB / 418.1 MB, free: 460 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.1257, allocations: 23.91 kB / 418.1 MB, free: 436 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.1259, allocations: 35.89 kB / 418.2 MB, free: 400 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.1261, allocations: 59.81 kB / 418.2 MB, free: 340 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.1263, allocations: 55.88 kB / 418.3 MB, free: 284 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.686e-05/0.1264, allocations: 7.984 kB / 418.3 MB, free: 276 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.618e-05/0.1265, allocations: 39.84 kB / 418.3 MB, free: 236 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.525e-05/0.1266, allocations: 23.86 kB / 418.3 MB, free: 212 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.1266, allocations: 4 kB / 418.4 MB, free: 208 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.1268, allocations: 27.98 kB / 418.4 MB, free: 180 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.415e-05/0.1268, allocations: 15.91 kB / 418.4 MB, free: 164 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.009e-05/0.1269, allocations: 45.64 kB / 418.4 MB, free: 112 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.1271, allocations: 84.05 kB / 418.5 MB, free: 28 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1271, allocations: 0 / 418.5 MB, free: 28 kB / 346.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.1271, allocations: 4 kB / 418.5 MB, free: 24 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1271, allocations: 0 / 418.5 MB, free: 24 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.0005864/0.1277, allocations: 442.4 kB / 419 MB, free: 15.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.1278, allocations: 8.031 kB / 419 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.165e-05/0.1278, allocations: 34.55 kB / 419 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.1279, allocations: 11.91 kB / 419 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.1282, allocations: 202.9 kB / 419.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.1282, allocations: 4 kB / 419.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.1282, allocations: 11.94 kB / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.1285, allocations: 61.61 kB / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1285, allocations: 0 / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1285, allocations: 0 / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1285, allocations: 0 / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.1286, allocations: 19.98 kB / 419.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004402/0.1291, allocations: 300.8 kB / 419.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.1293, allocations: 62.61 kB / 419.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.1294, allocations: 3.938 kB / 419.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002214/0.1296, allocations: 67.52 kB / 419.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.074e-06/0.1296, allocations: 4 kB / 419.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007671/0.1304, allocations: 185.1 kB / 419.9 MB, free: 14.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.1305, allocations: 51.41 kB / 420 MB, free: 14.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.1307, allocations: 174.2 kB / 420.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.1308, allocations: 33.7 kB / 420.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.039e-05/0.1308, allocations: 92.14 kB / 420.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.1309, allocations: 31.58 kB / 420.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.016e-06/0.1309, allocations: 0 / 420.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.131, allocations: 334.8 kB / 420.6 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.1312, allocations: 27.98 kB / 420.6 MB, free: 13.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.1313, allocations: 45.64 kB / 420.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.1315, allocations: 69.69 kB / 420.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1315, allocations: 0 / 420.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000385/0.1319, allocations: 155.2 kB / 420.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.45e-05/0.132, allocations: 37.7 kB / 420.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.132, allocations: 4.031 kB / 420.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.132, allocations: 7.984 kB / 421 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.1322, allocations: 12 kB / 421 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.1322, allocations: 0 / 421 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.611e-05/0.1323, allocations: 4 kB / 421 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.1323, allocations: 4 kB / 421 MB, free: 13.31 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.0001365/0.1325, allocations: 133.8 kB / 421.1 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.1325, allocations: 11.81 kB / 421.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.382e-05/0.1326, allocations: 16.7 kB / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1326, allocations: 4 kB / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1326, allocations: 0 / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1326, allocations: 4 kB / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006104/0.1332, allocations: 391.3 kB / 421.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.1332, allocations: 4 kB / 421.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.911e-05/0.1333, allocations: 7.938 kB / 421.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.1333, allocations: 4 kB / 421.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.1333, allocations: 4.344 kB / 421.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.1334, allocations: 4 kB / 421.5 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/0.1334, allocations: 8 kB / 421.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.1337, allocations: 210 kB / 421.8 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.067e-05/0.1338, allocations: 96.91 kB / 421.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.1339, allocations: 3.984 kB / 421.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.134, allocations: 12 kB / 421.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.134, allocations: 7.984 kB / 421.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.1341, allocations: 7.938 kB / 421.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001523/0.1342, allocations: 136.1 kB / 422 MB, free: 12.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1342, allocations: 0 / 422 MB, free: 12.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003658/0.1346, allocations: 35.98 kB / 422.1 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.001837/0.1365, allocations: 1.155 MB / 423.2 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003967/0.1369, allocations: 151.3 kB / 423.4 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.1369, allocations: 0 / 423.4 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.137, allocations: 35.92 kB / 423.4 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.1374, allocations: 27.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.000997/0.1384, allocations: 0.6092 MB / 424 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.1388, allocations: 0.7043 MB / 424.7 MB, free: 9.395 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.774e-05/0.1389, allocations: 16.38 kB / 424.7 MB, free: 9.379 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.877e-05/0.139, allocations: 35.42 kB / 424.8 MB, free: 9.344 MB / 362.7 MB Notification: Performance of SimCode: time 7.12e-07/0.139, allocations: 0 / 424.8 MB, free: 9.344 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/0.16, allocations: 2.842 MB / 427.6 MB, free: 6.516 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002304/0.1603, allocations: 258.2 kB / 427.9 MB, free: 6.172 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.497/2.657, allocations: 0 / 427.9 MB, free: 6.172 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat does not exist to compare? outputFormat=mat