Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test1",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.01107/0.01107, allocations: 106.7 kB / 15.06 MB, free: 5.551 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.001245/0.001245, allocations: 177.7 kB / 15.95 MB, free: 5.516 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.087/2.087, allocations: 194.6 MB / 211.3 MB, free: 11 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.3014/0.3014, allocations: 40.04 MB / 296.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004718/0.0004719, allocations: 12 kB / 361.1 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1308, allocations: 54.87 MB / 416 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003324/0.1341, allocations: 1.353 MB / 417.4 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.1359, allocations: 0.7229 MB / 418.1 MB, free: 468 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.869e-05/0.136, allocations: 0 / 418.1 MB, free: 468 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002581/0.1362, allocations: 23.89 kB / 418.1 MB, free: 444 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.1365, allocations: 43.81 kB / 418.2 MB, free: 400 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.1367, allocations: 59.77 kB / 418.2 MB, free: 340 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.1369, allocations: 67.84 kB / 418.3 MB, free: 272 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.576e-05/0.137, allocations: 8 kB / 418.3 MB, free: 264 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.1371, allocations: 35.84 kB / 418.3 MB, free: 228 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.29e-05/0.1372, allocations: 35.84 kB / 418.4 MB, free: 192 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.1373, allocations: 0 / 418.4 MB, free: 192 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.1374, allocations: 24 kB / 418.4 MB, free: 168 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.741e-05/0.1374, allocations: 27.91 kB / 418.4 MB, free: 140 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.455e-05/0.1375, allocations: 41.64 kB / 418.5 MB, free: 92 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.1378, allocations: 100.1 kB / 418.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1378, allocations: 4 kB / 418.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1378, allocations: 0 / 418.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1378, allocations: 0 / 418.6 MB, free: 15.98 MB / 362.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.0006798/0.1385, allocations: 474.1 kB / 419 MB, free: 15.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.1386, allocations: 8.031 kB / 419 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.071e-05/0.1386, allocations: 30.56 kB / 419.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.1387, allocations: 11.91 kB / 419.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.139, allocations: 214.7 kB / 419.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.139, allocations: 8 kB / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.1391, allocations: 3.953 kB / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.1393, allocations: 57.67 kB / 419.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1393, allocations: 0 / 419.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1393, allocations: 0 / 419.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1393, allocations: 0 / 419.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.1394, allocations: 23.97 kB / 419.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005/0.14, allocations: 308.8 kB / 419.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.1402, allocations: 58.62 kB / 419.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.1403, allocations: 3.984 kB / 419.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.1405, allocations: 67.52 kB / 419.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.884e-06/0.1405, allocations: 0 / 419.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007892/0.1413, allocations: 193 kB / 420 MB, free: 14.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.1414, allocations: 59.39 kB / 420 MB, free: 14.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003553/0.1417, allocations: 254.5 kB / 420.3 MB, free: 14.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.1418, allocations: 33.64 kB / 420.3 MB, free: 13.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.396e-05/0.1419, allocations: 112.1 kB / 420.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.1419, allocations: 23.66 kB / 420.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-06/0.142, allocations: 0 / 420.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1421, allocations: 330.8 kB / 420.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.1423, allocations: 35.98 kB / 420.8 MB, free: 13.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.1425, allocations: 53.62 kB / 420.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.1426, allocations: 65.7 kB / 420.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1426, allocations: 0 / 420.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004022/0.1431, allocations: 167.1 kB / 421.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.927e-05/0.1431, allocations: 40.66 kB / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1431, allocations: 0 / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1432, allocations: 4.031 kB / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.1433, allocations: 15.98 kB / 421.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.1433, allocations: 4 kB / 421.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.851e-05/0.1434, allocations: 8 kB / 421.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.1435, allocations: 4 kB / 421.2 MB, free: 13.11 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.0001642/0.1436, allocations: 141.7 kB / 421.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.1437, allocations: 11.81 kB / 421.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.978e-05/0.1437, allocations: 21.39 kB / 421.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.1438, allocations: 8.375 kB / 421.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1438, allocations: 0 / 421.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1438, allocations: 0 / 421.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006575/0.1445, allocations: 407.3 kB / 421.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1445, allocations: 0 / 421.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.229e-05/0.1445, allocations: 11.98 kB / 421.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1446, allocations: 3.938 kB / 421.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.1446, allocations: 4 kB / 421.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1446, allocations: 32 / 421.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1446, allocations: 4 kB / 421.8 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/0.145, allocations: 221.8 kB / 422 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.936e-05/0.1451, allocations: 96.91 kB / 422.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.1451, allocations: 4 kB / 422.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.1453, allocations: 3.984 kB / 422.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.1453, allocations: 12 kB / 422.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/0.1454, allocations: 4 kB / 422.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002453/0.1456, allocations: 200.2 kB / 422.3 MB, free: 11.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1456, allocations: 0 / 422.3 MB, free: 11.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003742/0.146, allocations: 28 kB / 422.3 MB, free: 11.84 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.001903/0.1479, allocations: 1.168 MB / 423.5 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003812/0.1483, allocations: 143.4 kB / 423.6 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1483, allocations: 3.938 kB / 423.6 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.1485, allocations: 36.05 kB / 423.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.1488, allocations: 24.12 kB / 423.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.15, allocations: 0.6861 MB / 424.4 MB, free: 9.758 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/0.1505, allocations: 0.7199 MB / 425.1 MB, free: 9.012 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.378e-05/0.1506, allocations: 16.42 kB / 425.1 MB, free: 8.996 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.515e-05/0.1507, allocations: 39.42 kB / 425.2 MB, free: 8.957 MB / 362.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1507, allocations: 0 / 425.2 MB, free: 8.957 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02425/0.175, allocations: 3.166 MB / 428.3 MB, free: 5.805 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003725/0.1754, allocations: 245.1 kB / 428.6 MB, free: 5.473 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.438/2.613, allocations: 0 / 428.6 MB, free: 5.473 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat does not exist to compare? outputFormat=mat