Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.0106/0.0106, allocations: 103.6 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.001119/0.001119, allocations: 166.2 kB / 15.94 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.636/1.636, allocations: 170.9 MB / 187.5 MB, free: 1.012 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.244/0.244, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005966/0.0005969, allocations: 12 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09088/0.09153, allocations: 48.72 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002349/0.09393, allocations: 1.283 MB / 373.6 MB, free: 11.56 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.09504, allocations: 419.4 kB / 374 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.874e-05/0.09512, allocations: 3.938 kB / 374 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003209/0.09546, allocations: 63.84 kB / 374.1 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.0957, allocations: 63.84 kB / 374.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.09596, allocations: 55.81 kB / 374.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.09613, allocations: 59.84 kB / 374.2 MB, free: 10.9 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.426e-05/0.09624, allocations: 7.984 kB / 374.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.247e-05/0.09634, allocations: 31.91 kB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.09645, allocations: 35.89 kB / 374.3 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.09649, allocations: 4 kB / 374.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.09663, allocations: 35.86 kB / 374.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.544e-05/0.09669, allocations: 19.98 kB / 374.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.225e-05/0.09675, allocations: 37.64 kB / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.09697, allocations: 84.11 kB / 374.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.09698, allocations: 0 / 374.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.097, allocations: 0 / 374.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.09701, allocations: 0 / 374.5 MB, free: 10.64 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.0005839/0.0976, allocations: 420.6 kB / 374.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.09766, allocations: 8.031 kB / 374.9 MB, free: 10.17 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.886e-05/0.09771, allocations: 30.56 kB / 374.9 MB, free: 10.13 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.09776, allocations: 11.91 kB / 375 MB, free: 10.12 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.09803, allocations: 210.6 kB / 375.2 MB, free: 9.875 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.09806, allocations: 4 kB / 375.2 MB, free: 9.871 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.09809, allocations: 4 kB / 375.2 MB, free: 9.867 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.09823, allocations: 41.69 kB / 375.2 MB, free: 9.82 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.09826, allocations: 0 / 375.2 MB, free: 9.82 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.09828, allocations: 4 kB / 375.2 MB, free: 9.816 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.09829, allocations: 0 / 375.2 MB, free: 9.816 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.536e-05/0.09837, allocations: 15.98 kB / 375.2 MB, free: 9.801 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.09879, allocations: 284.8 kB / 375.5 MB, free: 9.473 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.09902, allocations: 34.67 kB / 375.5 MB, free: 9.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.09906, allocations: 3.984 kB / 375.5 MB, free: 9.426 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.09923, allocations: 59.41 kB / 375.6 MB, free: 9.355 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.784e-06/0.09925, allocations: 0 / 375.6 MB, free: 9.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004756/0.09973, allocations: 117.5 kB / 375.7 MB, free: 9.234 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.0998, allocations: 59.39 kB / 375.8 MB, free: 9.164 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.1001, allocations: 190.2 kB / 376 MB, free: 8.969 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.1001, allocations: 33.7 kB / 376 MB, free: 8.93 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.873e-05/0.1002, allocations: 92.14 kB / 376.1 MB, free: 8.836 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.1002, allocations: 19.8 kB / 376.1 MB, free: 8.816 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.1003, allocations: 0 / 376.1 MB, free: 8.816 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1004, allocations: 330.7 kB / 376.4 MB, free: 8.484 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.606e-05/0.1005, allocations: 19.94 kB / 376.4 MB, free: 8.465 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.92e-05/0.1006, allocations: 23.98 kB / 376.5 MB, free: 8.441 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.557e-05/0.1007, allocations: 49.7 kB / 376.5 MB, free: 8.387 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1007, allocations: 0 / 376.5 MB, free: 8.387 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002466/0.1009, allocations: 115.2 kB / 376.6 MB, free: 8.262 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/0.101, allocations: 33.7 kB / 376.7 MB, free: 8.223 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.101, allocations: 3.984 kB / 376.7 MB, free: 8.219 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.101, allocations: 0 / 376.7 MB, free: 8.219 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.123e-05/0.1011, allocations: 11.94 kB / 376.7 MB, free: 8.207 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.1011, allocations: 4.141 kB / 376.7 MB, free: 8.203 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.602e-05/0.1012, allocations: 11.98 kB / 376.7 MB, free: 8.191 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.1013, allocations: 8 kB / 376.7 MB, free: 8.184 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.0001311/0.1014, allocations: 126.8 kB / 376.8 MB, free: 8.051 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.1014, allocations: 7.906 kB / 376.8 MB, free: 8.043 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.759e-05/0.1015, allocations: 16.31 kB / 376.8 MB, free: 8.023 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.1015, allocations: 3.984 kB / 376.9 MB, free: 8.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1015, allocations: 0 / 376.9 MB, free: 8.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1015, allocations: 0 / 376.9 MB, free: 8.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/0.102, allocations: 354.4 kB / 377.2 MB, free: 7.617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.102, allocations: 4 kB / 377.2 MB, free: 7.613 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.234e-05/0.1021, allocations: 4 kB / 377.2 MB, free: 7.609 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1021, allocations: 0 / 377.2 MB, free: 7.609 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.1021, allocations: 7.984 kB / 377.2 MB, free: 7.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1021, allocations: 0 / 377.2 MB, free: 7.602 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1021, allocations: 0 / 377.2 MB, free: 7.602 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.1023, allocations: 171.4 kB / 377.4 MB, free: 7.418 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.783e-05/0.1024, allocations: 84.95 kB / 377.5 MB, free: 7.316 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.1025, allocations: 8 kB / 377.5 MB, free: 7.309 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.105e-05/0.1026, allocations: 3.984 kB / 377.5 MB, free: 7.305 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.1026, allocations: 8 kB / 377.5 MB, free: 7.297 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.1026, allocations: 0 / 377.5 MB, free: 7.297 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00018/0.1028, allocations: 152 kB / 377.6 MB, free: 7.148 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1028, allocations: 0 / 377.6 MB, free: 7.148 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003584/0.1032, allocations: 31.94 kB / 377.7 MB, free: 7.117 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.001446/0.1047, allocations: 0.9546 MB / 378.6 MB, free: 6.246 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002424/0.1049, allocations: 111.3 kB / 378.7 MB, free: 6.125 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.1049, allocations: 0 / 378.7 MB, free: 6.125 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.283e-05/0.105, allocations: 19.94 kB / 378.7 MB, free: 6.105 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.1053, allocations: 15.98 kB / 378.8 MB, free: 6.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008567/0.1062, allocations: 456.3 kB / 379.2 MB, free: 5.598 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.1066, allocations: 0.7043 MB / 379.9 MB, free: 4.867 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.751e-05/0.1066, allocations: 16.14 kB / 379.9 MB, free: 4.852 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.618e-05/0.1067, allocations: 27.42 kB / 380 MB, free: 4.824 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1067, allocations: 0 / 380 MB, free: 4.824 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.1318, allocations: 2.622 MB / 382.6 MB, free: 2.23 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003721/0.1323, allocations: 250.2 kB / 382.8 MB, free: 1.891 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.464/2.596, allocations: 0 / 382.8 MB, free: 1.891 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat does not exist to compare? outputFormat=mat