Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test37",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.01056/0.01056, allocations: 107.8 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.00118/0.001181, allocations: 181.9 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 2.032/2.032, allocations: 194.5 MB / 211.2 MB, free: 11.05 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.2628/0.2628, allocations: 40.05 MB / 296.5 MB, free: 6.281 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006833/0.0006835, allocations: 16 kB / 361.1 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1147, allocations: 54.89 MB / 416 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002298/0.117, allocations: 1.31 MB / 417.3 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.1186, allocations: 0.7111 MB / 418.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.677e-05/0.1187, allocations: 3.938 kB / 418.1 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.119, allocations: 47.92 kB / 418.1 MB, free: 468 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.1192, allocations: 47.81 kB / 418.2 MB, free: 420 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.1194, allocations: 47.89 kB / 418.2 MB, free: 372 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.1196, allocations: 63.86 kB / 418.3 MB, free: 308 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.401e-05/0.1196, allocations: 7.984 kB / 418.3 MB, free: 300 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.1197, allocations: 39.84 kB / 418.3 MB, free: 260 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.642e-05/0.1198, allocations: 31.89 kB / 418.3 MB, free: 228 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.1199, allocations: 4 kB / 418.3 MB, free: 224 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.277e-05/0.12, allocations: 27.88 kB / 418.4 MB, free: 196 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.148e-05/0.12, allocations: 11.98 kB / 418.4 MB, free: 184 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.495e-05/0.1201, allocations: 45.62 kB / 418.4 MB, free: 132 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.1203, allocations: 64.12 kB / 418.5 MB, free: 68 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1203, allocations: 0 / 418.5 MB, free: 68 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1203, allocations: 0 / 418.5 MB, free: 68 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1203, allocations: 0 / 418.5 MB, free: 68 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006106/0.1209, allocations: 450.3 kB / 418.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.121, allocations: 12.03 kB / 418.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.874e-05/0.121, allocations: 30.56 kB / 419 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.1211, allocations: 11.91 kB / 419 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.1213, allocations: 194.9 kB / 419.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.1214, allocations: 8 kB / 419.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.1214, allocations: 7.953 kB / 419.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.1216, allocations: 45.67 kB / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1216, allocations: 0 / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.1216, allocations: 0 / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1216, allocations: 0 / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.508e-05/0.1217, allocations: 19.98 kB / 419.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002204/0.122, allocations: 185.6 kB / 419.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.1222, allocations: 62.55 kB / 419.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.1223, allocations: 0 / 419.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001955/0.1225, allocations: 71.38 kB / 419.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.814e-06/0.1225, allocations: 0 / 419.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003725/0.1229, allocations: 105.4 kB / 419.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.1229, allocations: 51.41 kB / 419.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.1231, allocations: 174.2 kB / 419.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.1232, allocations: 33.7 kB / 419.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.267e-05/0.1233, allocations: 96.12 kB / 420 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.1233, allocations: 19.8 kB / 420 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.1233, allocations: 0 / 420 MB, free: 14.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1234, allocations: 322.8 kB / 420.3 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.1236, allocations: 27.98 kB / 420.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.1237, allocations: 33.7 kB / 420.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.1238, allocations: 53.7 kB / 420.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1239, allocations: 3.938 kB / 420.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003282/0.1242, allocations: 139.2 kB / 420.6 MB, free: 13.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.334e-05/0.1242, allocations: 41.64 kB / 420.6 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1243, allocations: 0 / 420.6 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1243, allocations: 4.031 kB / 420.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.1244, allocations: 15.92 kB / 420.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1244, allocations: 0 / 420.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.104e-05/0.1245, allocations: 23.83 kB / 420.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.1246, allocations: 4 kB / 420.7 MB, free: 13.6 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 (8): * Single equations (assignments): 7 * 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.0001179/0.1247, allocations: 117.8 kB / 420.8 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.1247, allocations: 7.906 kB / 420.8 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.1248, allocations: 20.25 kB / 420.8 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1248, allocations: 4 kB / 420.8 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1248, allocations: 0 / 420.8 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.1248, allocations: 320 / 420.8 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.125, allocations: 181.6 kB / 421 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.125, allocations: 4 kB / 421 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.341e-05/0.1251, allocations: 7.938 kB / 421 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1251, allocations: 0 / 421 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.1251, allocations: 3.984 kB / 421 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.1251, allocations: 7.953 kB / 421 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1251, allocations: 0 / 421 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.1254, allocations: 109 kB / 421.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.562e-05/0.1255, allocations: 92.91 kB / 421.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.1255, allocations: 0 / 421.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.23e-05/0.1256, allocations: 7.984 kB / 421.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.1256, allocations: 7.953 kB / 421.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.1257, allocations: 4 kB / 421.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000144/0.1258, allocations: 132.1 kB / 421.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1258, allocations: 0 / 421.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002999/0.1261, allocations: 28 kB / 421.4 MB, free: 12.79 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001567/0.1277, allocations: 0.9376 MB / 422.3 MB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003459/0.1281, allocations: 127.4 kB / 422.5 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1281, allocations: 0 / 422.5 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.1282, allocations: 27.92 kB / 422.5 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.1285, allocations: 24 kB / 422.5 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008516/0.1294, allocations: 0.5772 MB / 423.1 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.1297, allocations: 0.7011 MB / 423.8 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.601e-05/0.1298, allocations: 12.59 kB / 423.8 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.1299, allocations: 31.42 kB / 423.8 MB, free: 10.31 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1299, allocations: 0 / 423.8 MB, free: 10.31 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/0.1515, allocations: 2.54 MB / 426.4 MB, free: 7.785 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003621/0.1519, allocations: 254.2 kB / 426.6 MB, free: 7.445 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.25/2.402, allocations: 0 / 426.6 MB, free: 7.445 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat does not exist to compare? outputFormat=mat