Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01118/0.01118, allocations: 104.4 kB / 15.05 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.1.mo): time 0.001246/0.001245, allocations: 168 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.674/1.674, allocations: 170.9 MB / 187.6 MB, free: 1.004 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2567/0.2567, allocations: 38.09 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001084, allocations: 16 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1088, allocations: 48.7 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002417/0.1112, allocations: 1.294 MB / 373.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.1123, allocations: 415.4 kB / 374 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.094e-05/0.1124, allocations: 7.938 kB / 374 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002558/0.1127, allocations: 27.89 kB / 374 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.1129, allocations: 35.89 kB / 374.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.1132, allocations: 59.8 kB / 374.1 MB, free: 11.01 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.1133, allocations: 51.88 kB / 374.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.902e-05/0.1134, allocations: 15.97 kB / 374.2 MB, free: 10.94 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.118e-05/0.1135, allocations: 27.92 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.698e-05/0.1136, allocations: 23.91 kB / 374.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.1137, allocations: 4 kB / 374.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.1138, allocations: 35.86 kB / 374.3 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.302e-05/0.1139, allocations: 23.92 kB / 374.3 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.708e-05/0.1139, allocations: 37.64 kB / 374.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.1142, allocations: 96.09 kB / 374.4 MB, free: 10.69 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1142, allocations: 0 / 374.4 MB, free: 10.69 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1142, allocations: 0 / 374.4 MB, free: 10.69 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1142, allocations: 0 / 374.4 MB, free: 10.69 MB / 282.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.0006053/0.1148, allocations: 444.5 kB / 374.9 MB, free: 10.2 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.1149, allocations: 12.03 kB / 374.9 MB, free: 10.19 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.743e-05/0.1149, allocations: 30.56 kB / 374.9 MB, free: 10.15 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.115, allocations: 7.906 kB / 374.9 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.1153, allocations: 207.6 kB / 375.1 MB, free: 9.898 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.1153, allocations: 0 / 375.1 MB, free: 9.898 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.1153, allocations: 4 kB / 375.1 MB, free: 9.895 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.1155, allocations: 53.61 kB / 375.2 MB, free: 9.836 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1155, allocations: 3.938 kB / 375.2 MB, free: 9.832 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1155, allocations: 4 kB / 375.2 MB, free: 9.828 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.1155, allocations: 3.984 kB / 375.2 MB, free: 9.824 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.45e-05/0.1156, allocations: 11.98 kB / 375.2 MB, free: 9.812 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.116, allocations: 288.9 kB / 375.5 MB, free: 9.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.1163, allocations: 38.56 kB / 375.5 MB, free: 9.434 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.1163, allocations: 7.938 kB / 375.5 MB, free: 9.426 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.1165, allocations: 55.5 kB / 375.6 MB, free: 9.359 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.234e-06/0.1165, allocations: 0 / 375.6 MB, free: 9.359 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004939/0.117, allocations: 129.1 kB / 375.7 MB, free: 9.227 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.1171, allocations: 55.41 kB / 375.8 MB, free: 9.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003519/0.1175, allocations: 250.4 kB / 376 MB, free: 8.906 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.1175, allocations: 29.7 kB / 376 MB, free: 8.871 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.061e-05/0.1176, allocations: 112.1 kB / 376.1 MB, free: 8.758 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.1176, allocations: 15.81 kB / 376.2 MB, free: 8.742 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-06/0.1177, allocations: 0 / 376.2 MB, free: 8.742 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1178, allocations: 330.8 kB / 376.5 MB, free: 8.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.882e-05/0.1179, allocations: 19.98 kB / 376.5 MB, free: 8.391 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.625e-05/0.118, allocations: 16 kB / 376.5 MB, free: 8.375 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.934e-05/0.118, allocations: 45.7 kB / 376.6 MB, free: 8.324 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1181, allocations: 0 / 376.6 MB, free: 8.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002546/0.1183, allocations: 127.1 kB / 376.7 MB, free: 8.188 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.817e-05/0.1184, allocations: 39.27 kB / 376.7 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1184, allocations: 0 / 376.7 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1184, allocations: 4 kB / 376.7 MB, free: 8.141 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.639e-05/0.1185, allocations: 15.92 kB / 376.7 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1185, allocations: 0 / 376.7 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.916e-05/0.1186, allocations: 4.094 kB / 376.7 MB, free: 8.121 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.1186, allocations: 3.938 kB / 376.7 MB, free: 8.117 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001405/0.1188, allocations: 142.8 kB / 376.9 MB, free: 7.969 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.1188, allocations: 11.91 kB / 376.9 MB, free: 7.957 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.479e-05/0.1189, allocations: 20.98 kB / 376.9 MB, free: 7.938 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1189, allocations: 4 kB / 376.9 MB, free: 7.934 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.006e-06/0.1189, allocations: 4.062 kB / 376.9 MB, free: 7.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1189, allocations: 0 / 376.9 MB, free: 7.93 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004518/0.1194, allocations: 354.4 kB / 377.3 MB, free: 7.527 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1194, allocations: 0 / 377.3 MB, free: 7.527 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.264e-05/0.1195, allocations: 4 kB / 377.3 MB, free: 7.523 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.1195, allocations: 0 / 377.3 MB, free: 7.523 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.1195, allocations: 7.938 kB / 377.3 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1195, allocations: 0 / 377.3 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1195, allocations: 0 / 377.3 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.1198, allocations: 175.4 kB / 377.5 MB, free: 7.328 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.285e-05/0.1198, allocations: 92.92 kB / 377.5 MB, free: 7.219 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.1199, allocations: 0 / 377.5 MB, free: 7.219 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.421e-05/0.12, allocations: 4 kB / 377.6 MB, free: 7.215 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.12, allocations: 3.984 kB / 377.6 MB, free: 7.211 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.1201, allocations: 4 kB / 377.6 MB, free: 7.207 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002356/0.1203, allocations: 196.3 kB / 377.8 MB, free: 7.016 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1203, allocations: 8 kB / 377.8 MB, free: 7.008 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000381/0.1207, allocations: 27.92 kB / 377.8 MB, free: 6.98 MB / 282.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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001388/0.1221, allocations: 0.9784 MB / 378.8 MB, free: 6.082 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002345/0.1224, allocations: 107.4 kB / 378.9 MB, free: 5.965 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.1224, allocations: 0 / 378.9 MB, free: 5.965 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.665e-05/0.1225, allocations: 27.88 kB / 378.9 MB, free: 5.938 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.1228, allocations: 16.17 kB / 378.9 MB, free: 5.922 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009697/0.1238, allocations: 0.5092 MB / 379.4 MB, free: 5.367 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.1241, allocations: 0.7121 MB / 380.1 MB, free: 4.629 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.146e-05/0.1242, allocations: 11.98 kB / 380.1 MB, free: 4.617 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.436e-05/0.1243, allocations: 31.42 kB / 380.2 MB, free: 4.586 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1243, allocations: 0 / 380.2 MB, free: 4.586 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02843/0.1528, allocations: 2.887 MB / 383.1 MB, free: 1.73 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003873/0.1532, allocations: 257.1 kB / 383.3 MB, free: 1.383 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.509/2.662, allocations: 0 / 383.3 MB, free: 1.383 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat does not exist to compare? outputFormat=mat