Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test59",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.01081/0.01082, allocations: 106 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.1.mo): time 0.001182/0.001182, allocations: 166.4 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.57/1.57, allocations: 170.9 MB / 187.5 MB, free: 0.8555 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.315/0.315, allocations: 38.09 MB / 265.1 MB, free: 3.941 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006378/0.000638, allocations: 19.98 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08973/0.09042, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002416/0.09288, allocations: 1.286 MB / 373.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.09491, allocations: 1.004 MB / 374.6 MB, free: 10.53 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7e-05/0.09502, allocations: 4 kB / 374.6 MB, free: 10.53 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.09535, allocations: 23.91 kB / 374.6 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.09559, allocations: 35.83 kB / 374.7 MB, free: 10.47 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.09586, allocations: 55.81 kB / 374.7 MB, free: 10.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00015/0.09603, allocations: 47.88 kB / 374.8 MB, free: 10.37 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.09614, allocations: 15.97 kB / 374.8 MB, free: 10.35 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.174e-05/0.09624, allocations: 31.91 kB / 374.8 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.09642, allocations: 15.92 kB / 374.8 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.09645, allocations: 4 kB / 374.8 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.09665, allocations: 51.91 kB / 374.9 MB, free: 10.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.021e-05/0.0967, allocations: 11.94 kB / 374.9 MB, free: 10.24 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.358e-05/0.09677, allocations: 29.7 kB / 374.9 MB, free: 10.2 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.09703, allocations: 88.09 kB / 375 MB, free: 10.12 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.09705, allocations: 0 / 375 MB, free: 10.12 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.09707, allocations: 3.938 kB / 375 MB, free: 10.11 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.09708, allocations: 0 / 375 MB, free: 10.11 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.0006818/0.09777, allocations: 416.8 kB / 375.4 MB, free: 9.652 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.09783, allocations: 8.031 kB / 375.4 MB, free: 9.645 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.725e-05/0.09789, allocations: 30.56 kB / 375.4 MB, free: 9.605 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.09793, allocations: 4 kB / 375.4 MB, free: 9.602 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.09822, allocations: 198.8 kB / 375.6 MB, free: 9.367 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.09824, allocations: 4 kB / 375.6 MB, free: 9.363 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.09828, allocations: 0 / 375.6 MB, free: 9.363 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.09845, allocations: 63.34 kB / 375.7 MB, free: 9.289 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.09848, allocations: 0 / 375.7 MB, free: 9.289 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.0985, allocations: 3.938 kB / 375.7 MB, free: 9.285 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.09851, allocations: 0 / 375.7 MB, free: 9.285 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.271e-05/0.0986, allocations: 15.98 kB / 375.7 MB, free: 9.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.09905, allocations: 280.9 kB / 376 MB, free: 8.945 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.0993, allocations: 46.56 kB / 376 MB, free: 8.891 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.09934, allocations: 7.938 kB / 376.1 MB, free: 8.883 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.09954, allocations: 51.5 kB / 376.1 MB, free: 8.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.783e-06/0.09955, allocations: 0 / 376.1 MB, free: 8.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004721/0.1, allocations: 113.7 kB / 376.2 MB, free: 8.703 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.1001, allocations: 81.11 kB / 376.3 MB, free: 8.605 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.1003, allocations: 145 kB / 376.4 MB, free: 8.457 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.1004, allocations: 29.7 kB / 376.5 MB, free: 8.422 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.655e-05/0.1004, allocations: 88.14 kB / 376.6 MB, free: 8.332 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.1005, allocations: 19.8 kB / 376.6 MB, free: 8.312 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.1005, allocations: 0 / 376.6 MB, free: 8.312 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1007, allocations: 322.8 kB / 376.9 MB, free: 7.988 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.807e-05/0.1008, allocations: 15.98 kB / 376.9 MB, free: 7.973 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.123e-05/0.1008, allocations: 37.69 kB / 376.9 MB, free: 7.93 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.596e-05/0.101, allocations: 53.7 kB / 377 MB, free: 7.871 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.101, allocations: 0 / 377 MB, free: 7.871 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002664/0.1012, allocations: 119.3 kB / 377.1 MB, free: 7.742 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.414e-05/0.1013, allocations: 43.03 kB / 377.1 MB, free: 7.695 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1013, allocations: 0 / 377.1 MB, free: 7.695 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1013, allocations: 0 / 377.1 MB, free: 7.695 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.848e-05/0.1014, allocations: 15.98 kB / 377.2 MB, free: 7.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1014, allocations: 0 / 377.2 MB, free: 7.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.672e-05/0.1015, allocations: 4 kB / 377.2 MB, free: 7.676 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.1016, allocations: 8.031 kB / 377.2 MB, free: 7.668 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.0001253/0.1017, allocations: 125.7 kB / 377.3 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.1017, allocations: 8 kB / 377.3 MB, free: 7.527 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.204e-05/0.1018, allocations: 11.97 kB / 377.3 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1018, allocations: 0 / 377.3 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1018, allocations: 0 / 377.3 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1018, allocations: 0 / 377.3 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004815/0.1023, allocations: 338.4 kB / 377.6 MB, free: 7.129 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1023, allocations: 0 / 377.6 MB, free: 7.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.623e-05/0.1024, allocations: 7.938 kB / 377.7 MB, free: 7.121 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1024, allocations: 0 / 377.7 MB, free: 7.121 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1024, allocations: 0 / 377.7 MB, free: 7.121 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1024, allocations: 8 kB / 377.7 MB, free: 7.113 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.1025, allocations: 3.984 kB / 377.7 MB, free: 7.109 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.1027, allocations: 163.5 kB / 377.8 MB, free: 6.934 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.159e-05/0.1028, allocations: 85.02 kB / 377.9 MB, free: 6.832 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.1028, allocations: 0 / 377.9 MB, free: 6.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.713e-05/0.1029, allocations: 7.984 kB / 377.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.103, allocations: 0 / 377.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.103, allocations: 8.188 kB / 377.9 MB, free: 6.816 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001193/0.1031, allocations: 103.3 kB / 378 MB, free: 6.715 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1031, allocations: 0 / 378 MB, free: 6.715 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004267/0.1036, allocations: 43.92 kB / 378.1 MB, free: 6.672 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.001684/0.1053, allocations: 1.049 MB / 379.1 MB, free: 5.715 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002596/0.1056, allocations: 107.4 kB / 379.2 MB, free: 5.598 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.1056, allocations: 0 / 379.2 MB, free: 5.598 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.954e-05/0.1056, allocations: 19.94 kB / 379.2 MB, free: 5.578 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.106, allocations: 19.92 kB / 379.3 MB, free: 5.559 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008232/0.1068, allocations: 390.5 kB / 379.6 MB, free: 5.125 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.1072, allocations: 0.6926 MB / 380.3 MB, free: 4.406 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.908e-05/0.1072, allocations: 16.11 kB / 380.4 MB, free: 4.391 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.335e-05/0.1073, allocations: 31.36 kB / 380.4 MB, free: 4.359 MB / 282.7 MB Notification: Performance of SimCode: time 9.51e-07/0.1074, allocations: 0 / 380.4 MB, free: 4.359 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/0.1383, allocations: 2.765 MB / 383.1 MB, free: 1.617 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004302/0.1388, allocations: 250.7 kB / 383.4 MB, free: 1.277 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.359/2.498, allocations: 8 kB / 383.4 MB, free: 1.27 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat does not exist to compare? outputFormat=mat