Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test77",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.01097/0.01096, allocations: 106.4 kB / 15.06 MB, free: 6.031 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.001264/0.001264, allocations: 180.4 kB / 15.95 MB, free: 5.957 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.877/1.877, 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.2959/0.2959, allocations: 40.04 MB / 296.5 MB, free: 6.297 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005152/0.0005154, allocations: 16 kB / 361.2 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1139, allocations: 54.88 MB / 416 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002655/0.1166, allocations: 1.473 MB / 417.5 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.1189, allocations: 0.9526 MB / 418.5 MB, free: 116 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.119, allocations: 4 kB / 418.5 MB, free: 112 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004588/0.1195, allocations: 135.7 kB / 418.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003468/0.1198, allocations: 111.7 kB / 418.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.1203, allocations: 95.72 kB / 418.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003079/0.1206, allocations: 147.7 kB / 418.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.1208, allocations: 9.562 kB / 419 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.121, allocations: 91.67 kB / 419 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.1212, allocations: 99.62 kB / 419.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.1212, allocations: 7.938 kB / 419.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.1215, allocations: 51.92 kB / 419.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.114e-05/0.1215, allocations: 39.84 kB / 419.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.366e-05/0.1216, allocations: 53.64 kB / 419.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003415/0.122, allocations: 179.8 kB / 419.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.122, allocations: 0 / 419.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.122, allocations: 0 / 419.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.122, allocations: 0 / 419.5 MB, free: 15.1 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009091/0.1229, allocations: 0.587 MB / 420.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.123, allocations: 8.031 kB / 420.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.882e-05/0.1231, allocations: 42.56 kB / 420.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.88e-05/0.1232, allocations: 23.72 kB / 420.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000429/0.1236, allocations: 242.5 kB / 420.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/0.1236, allocations: 8 kB / 420.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/0.1237, allocations: 15.89 kB / 420.4 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.124, allocations: 99.28 kB / 420.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.625e-05/0.1241, allocations: 4 kB / 420.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.1241, allocations: 7.984 kB / 420.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.1241, allocations: 4 kB / 420.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.1243, allocations: 39.97 kB / 420.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007496/0.1251, allocations: 464.8 kB / 421 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004446/0.1256, allocations: 117.4 kB / 421.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.1256, allocations: 128 / 421.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003557/0.126, allocations: 121 kB / 421.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 4.177e-06/0.126, allocations: 4 kB / 421.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001379/0.1274, allocations: 348.2 kB / 421.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.1275, allocations: 77.11 kB / 421.6 MB, free: 12.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000531/0.128, allocations: 350.5 kB / 422 MB, free: 12.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.279e-05/0.1281, allocations: 37.64 kB / 422 MB, free: 12.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.1282, allocations: 136.5 kB / 422.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.516e-05/0.1283, allocations: 51.38 kB / 422.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.78e-05/0.1284, allocations: 4 kB / 422.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1285, allocations: 342.8 kB / 422.5 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.1288, allocations: 64.16 kB / 422.6 MB, free: 11.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.129, allocations: 92.53 kB / 422.7 MB, free: 11.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.1294, allocations: 135.4 kB / 422.8 MB, free: 11.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1294, allocations: 0 / 422.8 MB, free: 11.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007327/0.1301, allocations: 296.5 kB / 423.1 MB, free: 11.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.106e-05/0.1302, allocations: 70.2 kB / 423.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1302, allocations: 0.75 kB / 423.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.1303, allocations: 4.188 kB / 423.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/0.1305, allocations: 27.98 kB / 423.2 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.1305, allocations: 15.86 kB / 423.2 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.1307, allocations: 12 kB / 423.2 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.1308, allocations: 8.062 kB / 423.3 MB, free: 10.98 MB / 362.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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * 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.0002082/0.131, allocations: 161.7 kB / 423.4 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.917e-05/0.131, allocations: 27.72 kB / 423.4 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.687e-05/0.1311, allocations: 33.7 kB / 423.5 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1312, allocations: 0 / 423.5 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.1312, allocations: 4 kB / 423.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1312, allocations: 0 / 423.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.1323, allocations: 0.6125 MB / 424.1 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.1323, allocations: 0 / 424.1 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.1325, allocations: 19.94 kB / 424.1 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.1325, allocations: 0 / 424.1 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.1325, allocations: 11.98 kB / 424.1 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.1325, allocations: 4 kB / 424.1 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.1325, allocations: 3.953 kB / 424.1 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006498/0.1332, allocations: 405.3 kB / 424.5 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.1333, allocations: 112.8 kB / 424.6 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.077e-05/0.1334, allocations: 4 kB / 424.6 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.1336, allocations: 12 kB / 424.7 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.1337, allocations: 11.98 kB / 424.7 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.1337, allocations: 11.98 kB / 424.7 MB, free: 9.434 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003857/0.1341, allocations: 249.9 kB / 424.9 MB, free: 9.191 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.505e-06/0.1341, allocations: 0 / 424.9 MB, free: 9.191 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005216/0.1347, allocations: 67.92 kB / 425 MB, free: 9.125 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.003029/0.1377, allocations: 1.73 MB / 426.7 MB, free: 7.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007204/0.1385, allocations: 298.7 kB / 427 MB, free: 7.113 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/0.1385, allocations: 4 kB / 427 MB, free: 7.109 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.1387, allocations: 67.97 kB / 427.1 MB, free: 7.043 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005195/0.1393, allocations: 40.72 kB / 427.1 MB, free: 6.996 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.141, allocations: 1.203 MB / 428.3 MB, free: 5.723 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.1415, allocations: 0.7556 MB / 429.1 MB, free: 4.941 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001417/0.1416, allocations: 25.84 kB / 429.1 MB, free: 4.914 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.1418, allocations: 67.78 kB / 429.2 MB, free: 4.852 MB / 362.7 MB Notification: Performance of SimCode: time 3.115e-06/0.1418, allocations: 0 / 429.2 MB, free: 4.852 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03086/0.1727, allocations: 5.133 MB / 434.3 MB, free: 15.73 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003861/0.1731, allocations: 250.3 kB / 434.5 MB, free: 15.39 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.531/2.705, allocations: 0 / 434.5 MB, free: 15.39 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat does not exist to compare? outputFormat=mat