Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test9",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: 108.5 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.001237/0.001237, allocations: 181.4 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 1.908/1.908, allocations: 194.6 MB / 211.3 MB, free: 11.22 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.2647/0.2647, allocations: 40.04 MB / 296.5 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004696/0.0004698, allocations: 12 kB / 361.2 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1157, allocations: 54.89 MB / 416 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002589/0.1183, allocations: 1.345 MB / 417.4 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.12, allocations: 0.7267 MB / 418.1 MB, free: 480 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.456e-05/0.1202, allocations: 0 / 418.1 MB, free: 480 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.1205, allocations: 67.83 kB / 418.2 MB, free: 412 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002265/0.1207, allocations: 55.8 kB / 418.2 MB, free: 356 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.121, allocations: 55.81 kB / 418.3 MB, free: 300 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.1212, allocations: 75.84 kB / 418.4 MB, free: 224 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.866e-05/0.1213, allocations: 8 kB / 418.4 MB, free: 216 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.1214, allocations: 39.84 kB / 418.4 MB, free: 176 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.1216, allocations: 47.81 kB / 418.5 MB, free: 128 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.1216, allocations: 4 kB / 418.5 MB, free: 124 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.1217, allocations: 20 kB / 418.5 MB, free: 104 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.526e-05/0.1218, allocations: 27.89 kB / 418.5 MB, free: 76 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.607e-05/0.1219, allocations: 41.64 kB / 418.5 MB, free: 28 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.1221, allocations: 96.03 kB / 418.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.1221, allocations: 0 / 418.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1221, allocations: 0 / 418.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.1222, allocations: 0 / 418.6 MB, free: 15.93 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.0006258/0.1228, allocations: 450.3 kB / 419.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1229, allocations: 8.031 kB / 419.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.888e-05/0.1229, allocations: 34.56 kB / 419.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.123, allocations: 7.906 kB / 419.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.1233, allocations: 207.6 kB / 419.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.1233, allocations: 4 kB / 419.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.1233, allocations: 7.953 kB / 419.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.1236, allocations: 57.61 kB / 419.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1236, allocations: 0 / 419.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.1236, allocations: 4 kB / 419.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1236, allocations: 0 / 419.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.1238, allocations: 15.98 kB / 419.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.1243, allocations: 312.7 kB / 419.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.1245, allocations: 62.61 kB / 419.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.1246, allocations: 0 / 419.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.1248, allocations: 67.52 kB / 419.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.1248, allocations: 3.938 kB / 419.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007607/0.1256, allocations: 185.2 kB / 420 MB, free: 14.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.1257, allocations: 51.41 kB / 420.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.126, allocations: 203.1 kB / 420.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.126, allocations: 29.7 kB / 420.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.346e-05/0.1261, allocations: 104.1 kB / 420.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.1261, allocations: 23.7 kB / 420.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.1262, allocations: 4 kB / 420.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1263, allocations: 326.8 kB / 420.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.1265, allocations: 35.98 kB / 420.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.1266, allocations: 45.7 kB / 420.8 MB, free: 13.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.1268, allocations: 69.62 kB / 420.9 MB, free: 13.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1268, allocations: 0 / 420.9 MB, free: 13.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004025/0.1272, allocations: 159.2 kB / 421.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.709e-05/0.1273, allocations: 33.7 kB / 421.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1273, allocations: 0 / 421.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1273, allocations: 4.031 kB / 421.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.1275, allocations: 24.28 kB / 421.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.1275, allocations: 4 kB / 421.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.305e-05/0.1276, allocations: 8 kB / 421.1 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.1276, allocations: 8 kB / 421.1 MB, free: 13.16 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.0001514/0.1278, allocations: 133.8 kB / 421.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.1278, allocations: 7.906 kB / 421.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.86e-05/0.1279, allocations: 21.45 kB / 421.3 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.1279, allocations: 4 kB / 421.3 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1279, allocations: 4 kB / 421.3 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1279, allocations: 0 / 421.3 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006514/0.1286, allocations: 399.2 kB / 421.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.1286, allocations: 0 / 421.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.1287, allocations: 15.88 kB / 421.7 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/0.1287, allocations: 4 kB / 421.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1287, allocations: 0 / 421.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1287, allocations: 0 / 421.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1287, allocations: 4.031 kB / 421.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.1291, allocations: 218 kB / 421.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-05/0.1292, allocations: 96.91 kB / 422 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.1293, allocations: 0 / 422 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.1294, allocations: 8 kB / 422 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.1294, allocations: 11.98 kB / 422.1 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.1295, allocations: 4 kB / 422.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001855/0.1297, allocations: 159.2 kB / 422.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1297, allocations: 96 / 422.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003579/0.13, allocations: 27.94 kB / 422.2 MB, free: 11.96 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.001902/0.132, allocations: 1.161 MB / 423.4 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004266/0.1324, allocations: 159.2 kB / 423.6 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1324, allocations: 0 / 423.6 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.1326, allocations: 27.92 kB / 423.6 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.133, allocations: 32.06 kB / 423.6 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.134, allocations: 0.6225 MB / 424.2 MB, free: 9.945 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.1344, allocations: 0.7082 MB / 424.9 MB, free: 9.211 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.56e-05/0.1345, allocations: 12.44 kB / 425 MB, free: 9.199 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.052e-05/0.1346, allocations: 39.36 kB / 425 MB, free: 9.16 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.1346, allocations: 0 / 425 MB, free: 9.16 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02566/0.1603, allocations: 2.943 MB / 427.9 MB, free: 6.23 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003112/0.1607, allocations: 257.1 kB / 428.2 MB, free: 5.887 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.47/2.631, allocations: 7.938 kB / 428.2 MB, free: 5.879 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat does not exist to compare? outputFormat=mat