Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test40",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.01119/0.0112, allocations: 109 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.001181/0.001181, allocations: 179.6 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 2.016/2.016, 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.29/0.29, allocations: 40.05 MB / 296.5 MB, free: 6.219 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004525/0.0004527, allocations: 16 kB / 361.2 MB, free: 9.508 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1114, allocations: 54.88 MB / 416 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002365/0.1138, allocations: 1.353 MB / 417.4 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.1155, allocations: 0.7228 MB / 418.1 MB, free: 440 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.338e-05/0.1156, allocations: 0 / 418.1 MB, free: 440 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003382/0.116, allocations: 71.83 kB / 418.2 MB, free: 368 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.1162, allocations: 59.78 kB / 418.2 MB, free: 308 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.1165, allocations: 51.83 kB / 418.3 MB, free: 256 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.1167, allocations: 75.84 kB / 418.4 MB, free: 180 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.117e-05/0.1168, allocations: 4 kB / 418.4 MB, free: 176 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.1169, allocations: 47.83 kB / 418.4 MB, free: 128 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.117, allocations: 47.81 kB / 418.5 MB, free: 80 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.1171, allocations: 4 kB / 418.5 MB, free: 76 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.1172, allocations: 20 kB / 418.5 MB, free: 56 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.118e-05/0.1172, allocations: 23.91 kB / 418.5 MB, free: 32 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.176e-05/0.1173, allocations: 41.64 kB / 418.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.1175, allocations: 96.03 kB / 418.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.1176, allocations: 0 / 418.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1176, allocations: 0 / 418.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.1176, allocations: 0 / 418.6 MB, free: 15.89 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.0005877/0.1182, allocations: 454.3 kB / 419.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.1182, allocations: 8.031 kB / 419.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.611e-05/0.1183, allocations: 30.56 kB / 419.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.567e-05/0.1183, allocations: 11.91 kB / 419.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.1186, allocations: 195.6 kB / 419.3 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.1186, allocations: 12 kB / 419.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.1187, allocations: 7.953 kB / 419.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.1189, allocations: 57.61 kB / 419.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1189, allocations: 0 / 419.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.1189, allocations: 3.938 kB / 419.4 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.119, allocations: 4 kB / 419.4 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.1191, allocations: 15.98 kB / 419.4 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/0.1196, allocations: 312.7 kB / 419.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.1199, allocations: 66.55 kB / 419.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.1199, allocations: 0 / 419.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002246/0.1201, allocations: 63.52 kB / 419.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.244e-06/0.1201, allocations: 0 / 419.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007804/0.1209, allocations: 185.2 kB / 420 MB, free: 14.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.121, allocations: 55.41 kB / 420.1 MB, free: 14.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.1213, allocations: 203.1 kB / 420.3 MB, free: 14.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.1213, allocations: 25.7 kB / 420.3 MB, free: 14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.796e-05/0.1214, allocations: 104.1 kB / 420.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.1214, allocations: 27.64 kB / 420.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-06/0.1215, allocations: 0 / 420.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1216, allocations: 330.8 kB / 420.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.1217, allocations: 31.98 kB / 420.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.1219, allocations: 49.7 kB / 420.8 MB, free: 13.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.122, allocations: 61.64 kB / 420.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.1221, allocations: 4 kB / 420.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003944/0.1225, allocations: 167.2 kB / 421.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.594e-05/0.1225, allocations: 29.7 kB / 421.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.1225, allocations: 4 kB / 421.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1226, allocations: 7.969 kB / 421.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.1227, allocations: 15.98 kB / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.1227, allocations: 0 / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.494e-05/0.1228, allocations: 4 kB / 421.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.1229, allocations: 8 kB / 421.1 MB, free: 13.12 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.0001434/0.123, allocations: 137.8 kB / 421.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.1231, allocations: 7.906 kB / 421.3 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.648e-05/0.1231, allocations: 13.41 kB / 421.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1231, allocations: 0 / 421.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.1232, allocations: 11.98 kB / 421.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1232, allocations: 0 / 421.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006567/0.1238, allocations: 403.2 kB / 421.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1239, allocations: 0 / 421.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.531e-05/0.1239, allocations: 11.94 kB / 421.7 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.124, allocations: 3.938 kB / 421.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.124, allocations: 4 kB / 421.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.124, allocations: 0 / 421.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.124, allocations: 4.125 kB / 421.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.1244, allocations: 221.9 kB / 421.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.397e-05/0.1245, allocations: 100.9 kB / 422 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.1245, allocations: 0 / 422 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.1246, allocations: 4 kB / 422 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.1247, allocations: 15.98 kB / 422.1 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.1247, allocations: 4 kB / 422.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001862/0.1249, allocations: 155.2 kB / 422.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1249, allocations: 3.938 kB / 422.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003792/0.1253, allocations: 28 kB / 422.2 MB, free: 11.91 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.001763/0.1271, allocations: 1.159 MB / 423.4 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003992/0.1275, allocations: 147.3 kB / 423.5 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1275, allocations: 3.938 kB / 423.5 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.1277, allocations: 31.92 kB / 423.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.128, allocations: 24.06 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.0009654/0.129, allocations: 0.6303 MB / 424.2 MB, free: 9.902 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.1293, allocations: 0.7162 MB / 424.9 MB, free: 9.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.707e-05/0.1294, allocations: 16.38 kB / 425 MB, free: 9.145 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.732e-05/0.1295, allocations: 31.42 kB / 425 MB, free: 9.113 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1295, allocations: 0 / 425 MB, free: 9.113 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.1514, allocations: 2.959 MB / 428 MB, free: 6.168 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002971/0.1517, allocations: 246.2 kB / 428.2 MB, free: 5.836 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/2.493, allocations: 3.938 kB / 428.2 MB, free: 5.832 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat does not exist to compare? outputFormat=mat