Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test36",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.02679/0.0268, allocations: 107.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.001213/0.001213, allocations: 182.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.077/2.077, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.2704/0.2704, allocations: 40.04 MB / 296.5 MB, free: 6.254 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004717/0.000472, allocations: 15.94 kB / 361.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1148, allocations: 54.88 MB / 416 MB, free: 9.008 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.0025/0.1174, allocations: 1.341 MB / 417.4 MB, free: 7.645 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.1191, allocations: 0.7228 MB / 418.1 MB, free: 6.914 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.207e-05/0.1192, allocations: 0 / 418.1 MB, free: 6.914 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003443/0.1195, allocations: 79.77 kB / 418.2 MB, free: 6.836 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.1198, allocations: 55.84 kB / 418.2 MB, free: 6.781 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.1201, allocations: 63.81 kB / 418.3 MB, free: 6.719 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.1202, allocations: 67.84 kB / 418.4 MB, free: 6.652 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.501e-05/0.1203, allocations: 4 kB / 418.4 MB, free: 6.648 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.1205, allocations: 43.84 kB / 418.4 MB, free: 6.605 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.1206, allocations: 51.81 kB / 418.5 MB, free: 6.555 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.1206, allocations: 4 kB / 418.5 MB, free: 6.551 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.1208, allocations: 31.92 kB / 418.5 MB, free: 6.52 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.956e-05/0.1208, allocations: 19.91 kB / 418.5 MB, free: 6.5 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.888e-05/0.1209, allocations: 45.64 kB / 418.6 MB, free: 6.449 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.1211, allocations: 88.09 kB / 418.6 MB, free: 6.363 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1211, allocations: 0 / 418.6 MB, free: 6.363 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1211, allocations: 0 / 418.6 MB, free: 6.363 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1212, allocations: 0 / 418.6 MB, free: 6.363 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006099/0.1218, allocations: 458.2 kB / 419.1 MB, free: 5.855 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1218, allocations: 8.031 kB / 419.1 MB, free: 5.848 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.668e-05/0.1219, allocations: 42.55 kB / 419.1 MB, free: 5.797 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.564e-05/0.1219, allocations: 11.81 kB / 419.1 MB, free: 5.785 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.1222, allocations: 208.1 kB / 419.4 MB, free: 5.543 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.1223, allocations: 0 / 419.4 MB, free: 5.543 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.1223, allocations: 8 kB / 419.4 MB, free: 5.535 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.1225, allocations: 57.61 kB / 419.4 MB, free: 5.473 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1225, allocations: 3.984 kB / 419.4 MB, free: 5.469 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.1225, allocations: 7.953 kB / 419.4 MB, free: 5.461 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.1226, allocations: 0 / 419.4 MB, free: 5.461 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.1227, allocations: 19.98 kB / 419.4 MB, free: 5.441 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.1231, allocations: 296.9 kB / 419.7 MB, free: 5.102 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.1234, allocations: 58.62 kB / 419.8 MB, free: 5.035 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.1234, allocations: 4 kB / 419.8 MB, free: 5.031 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002491/0.1237, allocations: 71.45 kB / 419.9 MB, free: 4.949 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 5.731e-06/0.1237, allocations: 7.938 kB / 419.9 MB, free: 4.941 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007766/0.1245, allocations: 181.1 kB / 420.1 MB, free: 4.758 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.1246, allocations: 51.41 kB / 420.1 MB, free: 4.695 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.1249, allocations: 222.3 kB / 420.3 MB, free: 4.469 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.1249, allocations: 29.7 kB / 420.3 MB, free: 4.434 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.476e-05/0.125, allocations: 104 kB / 420.5 MB, free: 4.328 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.1251, allocations: 23.7 kB / 420.5 MB, free: 4.305 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/0.1251, allocations: 8 kB / 420.5 MB, free: 4.297 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1252, allocations: 326.8 kB / 420.8 MB, free: 3.969 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.1254, allocations: 31.98 kB / 420.8 MB, free: 3.938 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.1255, allocations: 41.7 kB / 420.9 MB, free: 3.891 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.1257, allocations: 69.62 kB / 420.9 MB, free: 3.816 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1257, allocations: 0 / 420.9 MB, free: 3.816 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003933/0.1261, allocations: 167.1 kB / 421.1 MB, free: 3.641 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.824e-05/0.1262, allocations: 33.7 kB / 421.1 MB, free: 3.602 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1262, allocations: 4.031 kB / 421.1 MB, free: 3.598 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.1262, allocations: 4 kB / 421.1 MB, free: 3.594 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.1264, allocations: 20.3 kB / 421.2 MB, free: 3.574 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1264, allocations: 0 / 421.2 MB, free: 3.574 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.952e-05/0.1265, allocations: 8 kB / 421.2 MB, free: 3.566 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.1265, allocations: 8 kB / 421.2 MB, free: 3.559 MB / 314.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.000151/0.1267, allocations: 145.7 kB / 421.3 MB, free: 3.406 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.1267, allocations: 15.77 kB / 421.3 MB, free: 3.391 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.713e-05/0.1268, allocations: 17.39 kB / 421.4 MB, free: 3.379 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.1268, allocations: 8 kB / 421.4 MB, free: 3.371 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1268, allocations: 0 / 421.4 MB, free: 3.371 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1268, allocations: 0 / 421.4 MB, free: 3.371 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000661/0.1275, allocations: 395.3 kB / 421.7 MB, free: 2.926 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1275, allocations: 4 kB / 421.8 MB, free: 2.922 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.417e-05/0.1276, allocations: 8 kB / 421.8 MB, free: 2.914 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1276, allocations: 3.938 kB / 421.8 MB, free: 2.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.1276, allocations: 3.984 kB / 421.8 MB, free: 2.906 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.1276, allocations: 8.031 kB / 421.8 MB, free: 2.898 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.1277, allocations: 0 / 421.8 MB, free: 2.898 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004345/0.1281, allocations: 214.1 kB / 422 MB, free: 2.664 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.77e-05/0.1282, allocations: 96.91 kB / 422.1 MB, free: 2.551 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/0.1283, allocations: 8 kB / 422.1 MB, free: 2.543 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.1284, allocations: 4 kB / 422.1 MB, free: 2.539 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.1284, allocations: 7.984 kB / 422.1 MB, free: 2.531 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.1285, allocations: 4 kB / 422.1 MB, free: 2.527 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002142/0.1287, allocations: 171.3 kB / 422.3 MB, free: 2.359 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1287, allocations: 3.938 kB / 422.3 MB, free: 2.355 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003733/0.1291, allocations: 20 kB / 422.3 MB, free: 2.336 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: 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.001851/0.131, allocations: 1.171 MB / 423.5 MB, free: 1.227 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003813/0.1314, allocations: 151.3 kB / 423.6 MB, free: 1.066 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.1314, allocations: 0 / 423.6 MB, free: 1.066 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.1315, allocations: 31.98 kB / 423.6 MB, free: 1.035 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.1319, allocations: 19.98 kB / 423.7 MB, free: 1.016 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.133, allocations: 0.6499 MB / 424.3 MB, free: 320 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2821/0.4151, allocations: 0.7054 MB / 425 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.4152, allocations: 23.44 kB / 425 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.4153, allocations: 37.44 kB / 425.1 MB, free: 15.75 MB / 314.7 MB Notification: Performance of SimCode: time 1.382e-06/0.4154, allocations: 4.109 kB / 425.1 MB, free: 15.75 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/0.4425, allocations: 2.995 MB / 428.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002474/0.4429, allocations: 257.7 kB / 428.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.241/2.683, allocations: 0 / 428.3 MB, free: 15.19 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat does not exist to compare? outputFormat=mat