Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test41",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.01095/0.01095, allocations: 109.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.001167/0.001167, allocations: 183 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.909/1.909, allocations: 194.6 MB / 211.3 MB, free: 10.97 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.2599/0.2599, allocations: 40.04 MB / 296.5 MB, free: 6.273 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004705, allocations: 19.98 kB / 361.2 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1128, allocations: 54.87 MB / 416 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002377/0.1153, allocations: 1.353 MB / 417.4 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.1169, allocations: 0.7228 MB / 418.1 MB, free: 456 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.59e-05/0.117, allocations: 0 / 418.1 MB, free: 456 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.1173, allocations: 67.83 kB / 418.2 MB, free: 388 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.1176, allocations: 59.78 kB / 418.2 MB, free: 328 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.1178, allocations: 51.83 kB / 418.3 MB, free: 276 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.118, allocations: 75.84 kB / 418.4 MB, free: 200 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.013e-05/0.1181, allocations: 8 kB / 418.4 MB, free: 192 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.1182, allocations: 43.83 kB / 418.4 MB, free: 148 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.1183, allocations: 47.81 kB / 418.5 MB, free: 100 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.1184, allocations: 4 kB / 418.5 MB, free: 96 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1185, allocations: 20 kB / 418.5 MB, free: 76 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.962e-05/0.1185, allocations: 23.91 kB / 418.5 MB, free: 52 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.062e-05/0.1186, allocations: 41.64 kB / 418.5 MB, free: 4 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.1189, allocations: 96.03 kB / 418.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1189, allocations: 0 / 418.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1189, allocations: 0 / 418.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1189, allocations: 0 / 418.6 MB, free: 15.91 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.000574/0.1195, allocations: 454.3 kB / 419.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1195, allocations: 8.031 kB / 419.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.527e-05/0.1196, allocations: 30.56 kB / 419.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.1196, allocations: 11.91 kB / 419.1 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.1199, allocations: 199.6 kB / 419.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.12, allocations: 8 kB / 419.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.12, allocations: 11.94 kB / 419.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.1202, allocations: 57.61 kB / 419.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1202, allocations: 0 / 419.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1202, allocations: 0 / 419.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.1203, allocations: 4 kB / 419.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.1204, allocations: 15.98 kB / 419.4 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.1208, allocations: 312.7 kB / 419.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.1211, allocations: 66.55 kB / 419.8 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.1211, allocations: 0 / 419.8 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002046/0.1213, allocations: 63.52 kB / 419.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.074e-06/0.1213, allocations: 0 / 419.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007258/0.1221, allocations: 181.5 kB / 420 MB, free: 14.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.1221, allocations: 55.41 kB / 420.1 MB, free: 14.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.1224, allocations: 203.1 kB / 420.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.1224, allocations: 25.7 kB / 420.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.526e-05/0.1225, allocations: 104.1 kB / 420.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.1226, allocations: 27.64 kB / 420.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/0.1226, allocations: 7.938 kB / 420.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1227, allocations: 326.8 kB / 420.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.1228, allocations: 35.98 kB / 420.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.123, allocations: 49.64 kB / 420.8 MB, free: 13.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.1232, allocations: 61.7 kB / 420.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.1232, allocations: 4 kB / 420.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003961/0.1236, allocations: 159.2 kB / 421.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/0.1236, allocations: 37.62 kB / 421.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.1237, allocations: 8.062 kB / 421.1 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1237, allocations: 4.031 kB / 421.1 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.1238, allocations: 15.98 kB / 421.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.1238, allocations: 0 / 421.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.557e-05/0.1239, allocations: 8 kB / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.124, allocations: 4 kB / 421.1 MB, free: 13.14 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.0001331/0.1241, allocations: 137.8 kB / 421.3 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.1241, allocations: 7.906 kB / 421.3 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.175e-05/0.1242, allocations: 13.41 kB / 421.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1242, allocations: 0 / 421.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1242, allocations: 8 kB / 421.3 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.872e-06/0.1243, allocations: 3.984 kB / 421.3 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006005/0.1249, allocations: 399.2 kB / 421.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.1249, allocations: 0 / 421.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.282e-05/0.125, allocations: 11.94 kB / 421.7 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.125, allocations: 3.938 kB / 421.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.125, allocations: 4 kB / 421.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.125, allocations: 0 / 421.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.125, allocations: 4.031 kB / 421.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003359/0.1254, allocations: 218 kB / 421.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.225e-05/0.1255, allocations: 96.91 kB / 422 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.1255, allocations: 3.984 kB / 422 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.1256, allocations: 8 kB / 422 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.1257, allocations: 8 kB / 422 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.1257, allocations: 7.984 kB / 422.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001798/0.1259, allocations: 163.1 kB / 422.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1259, allocations: 0 / 422.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003677/0.1263, allocations: 28 kB / 422.2 MB, free: 11.93 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.001813/0.1281, allocations: 1.164 MB / 423.4 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000374/0.1285, allocations: 147.3 kB / 423.5 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1285, allocations: 3.938 kB / 423.6 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.1286, allocations: 32.05 kB / 423.6 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.129, allocations: 23.94 kB / 423.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009703/0.13, allocations: 0.6341 MB / 424.2 MB, free: 9.906 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.1303, allocations: 0.7082 MB / 424.9 MB, free: 9.172 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.916e-05/0.1304, allocations: 12.44 kB / 425 MB, free: 9.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.235e-05/0.1305, allocations: 31.42 kB / 425 MB, free: 9.129 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1305, allocations: 0 / 425 MB, free: 9.129 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.1536, allocations: 2.964 MB / 428 MB, free: 6.18 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002882/0.154, allocations: 246.2 kB / 428.2 MB, free: 5.848 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.345/2.499, allocations: 4.062 kB / 428.2 MB, free: 5.844 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat does not exist to compare? outputFormat=mat