Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test25",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.01057/0.01057, allocations: 105 kB / 15.06 MB, free: 5.949 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.001153/0.001153, allocations: 174 kB / 15.93 MB, free: 5.91 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.68/1.68, allocations: 170.9 MB / 187.5 MB, free: 0.8516 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.2544/0.2544, allocations: 38.1 MB / 265.1 MB, free: 3.938 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004839/0.0004842, allocations: 16 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0929/0.09342, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002292/0.09577, allocations: 1.29 MB / 373.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.09684, allocations: 427.4 kB / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.987e-05/0.09691, allocations: 0 / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.09718, allocations: 27.84 kB / 374 MB, free: 11.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.09736, allocations: 23.97 kB / 374.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.09761, allocations: 63.78 kB / 374.1 MB, free: 11.01 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.09777, allocations: 51.88 kB / 374.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.0979, allocations: 11.98 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.866e-05/0.098, allocations: 23.92 kB / 374.2 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.133e-05/0.09808, allocations: 27.84 kB / 374.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.09811, allocations: 0 / 374.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.09824, allocations: 31.94 kB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.303e-05/0.0983, allocations: 15.92 kB / 374.3 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.937e-05/0.09836, allocations: 33.7 kB / 374.3 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.09857, allocations: 84.09 kB / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.09859, allocations: 0 / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.0986, allocations: 4 kB / 374.4 MB, free: 10.72 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.09861, allocations: 0 / 374.4 MB, free: 10.72 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.0005562/0.09918, allocations: 420.7 kB / 374.8 MB, free: 10.26 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.09924, allocations: 12.03 kB / 374.8 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.113e-05/0.0993, allocations: 30.56 kB / 374.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.09935, allocations: 11.81 kB / 374.9 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.0996, allocations: 191.5 kB / 375 MB, free: 9.969 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.445e-06/0.09963, allocations: 0 / 375 MB, free: 9.969 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.09966, allocations: 4 kB / 375.1 MB, free: 9.965 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.0998, allocations: 49.61 kB / 375.1 MB, free: 9.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.09983, allocations: 4 kB / 375.1 MB, free: 9.906 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.09985, allocations: 4 kB / 375.1 MB, free: 9.902 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.09987, allocations: 0 / 375.1 MB, free: 9.902 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.339e-05/0.09994, allocations: 11.94 kB / 375.1 MB, free: 9.891 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.1003, allocations: 284.8 kB / 375.4 MB, free: 9.562 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.1006, allocations: 38.56 kB / 375.4 MB, free: 9.516 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.1006, allocations: 4 kB / 375.4 MB, free: 9.512 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.1008, allocations: 63.42 kB / 375.5 MB, free: 9.438 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.763e-06/0.1008, allocations: 0 / 375.5 MB, free: 9.438 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004566/0.1013, allocations: 109.7 kB / 375.6 MB, free: 9.324 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.1013, allocations: 55.34 kB / 375.7 MB, free: 9.258 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.1016, allocations: 184.6 kB / 375.8 MB, free: 9.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.1016, allocations: 29.7 kB / 375.9 MB, free: 9.035 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.1017, allocations: 100.1 kB / 376 MB, free: 8.934 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.1017, allocations: 27.78 kB / 376 MB, free: 8.906 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.662e-06/0.1018, allocations: 0 / 376 MB, free: 8.906 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1019, allocations: 326.8 kB / 376.3 MB, free: 8.578 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.085e-05/0.102, allocations: 12 kB / 376.3 MB, free: 8.566 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.79e-05/0.1021, allocations: 19.98 kB / 376.3 MB, free: 8.547 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.333e-05/0.1021, allocations: 45.7 kB / 376.4 MB, free: 8.496 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.1022, allocations: 4 kB / 376.4 MB, free: 8.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000234/0.1024, allocations: 115.2 kB / 376.5 MB, free: 8.367 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.1025, allocations: 37.7 kB / 376.5 MB, free: 8.324 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1025, allocations: 7.984 kB / 376.6 MB, free: 8.316 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1025, allocations: 0 / 376.6 MB, free: 8.316 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.607e-05/0.1026, allocations: 11.98 kB / 376.6 MB, free: 8.305 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.1026, allocations: 3.938 kB / 376.6 MB, free: 8.301 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.426e-05/0.1027, allocations: 4.094 kB / 376.6 MB, free: 8.297 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.1027, allocations: 7.938 kB / 376.6 MB, free: 8.289 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.0001243/0.1028, allocations: 126.8 kB / 376.7 MB, free: 8.156 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.1029, allocations: 11.81 kB / 376.7 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.545e-05/0.1029, allocations: 12.31 kB / 376.7 MB, free: 8.129 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.103, allocations: 4.062 kB / 376.7 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.103, allocations: 4 kB / 376.7 MB, free: 8.121 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.103, allocations: 7.984 kB / 376.7 MB, free: 8.113 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004206/0.1034, allocations: 338.5 kB / 377.1 MB, free: 7.727 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1034, allocations: 0 / 377.1 MB, free: 7.727 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.145e-05/0.1035, allocations: 4 kB / 377.1 MB, free: 7.723 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1035, allocations: 0 / 377.1 MB, free: 7.723 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.1035, allocations: 4 kB / 377.1 MB, free: 7.719 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1035, allocations: 0 / 377.1 MB, free: 7.719 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1035, allocations: 7.984 kB / 377.1 MB, free: 7.711 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.1038, allocations: 171.3 kB / 377.3 MB, free: 7.527 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.417e-05/0.1038, allocations: 85.02 kB / 377.3 MB, free: 7.426 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.1039, allocations: 4 kB / 377.3 MB, free: 7.422 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.929e-05/0.104, allocations: 0 / 377.3 MB, free: 7.422 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.979e-05/0.104, allocations: 7.984 kB / 377.4 MB, free: 7.414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.104, allocations: 0 / 377.4 MB, free: 7.414 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001529/0.1042, allocations: 146.7 kB / 377.5 MB, free: 7.273 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1042, allocations: 0 / 377.5 MB, free: 7.273 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003692/0.1046, allocations: 23.98 kB / 377.5 MB, free: 7.25 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.001417/0.106, allocations: 0.9709 MB / 378.5 MB, free: 6.359 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002288/0.1063, allocations: 103.4 kB / 378.6 MB, free: 6.246 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1063, allocations: 0 / 378.6 MB, free: 6.246 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.334e-05/0.1064, allocations: 19.94 kB / 378.6 MB, free: 6.227 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.1067, allocations: 19.92 kB / 378.6 MB, free: 6.207 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008198/0.1075, allocations: 443.5 kB / 379.1 MB, free: 5.727 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.1078, allocations: 0.7004 MB / 379.8 MB, free: 5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.592e-05/0.1079, allocations: 11.94 kB / 379.8 MB, free: 4.988 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.777e-05/0.108, allocations: 31.42 kB / 379.8 MB, free: 4.957 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.108, allocations: 0 / 379.8 MB, free: 4.957 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.1337, allocations: 2.568 MB / 382.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004516/0.1342, allocations: 250.3 kB / 382.6 MB, free: 2.082 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.352/2.487, allocations: 0 / 382.6 MB, free: 2.082 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat does not exist to compare? outputFormat=mat