Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test45",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.01087/0.01087, allocations: 104.9 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.00189/0.00189, allocations: 167.2 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.633/1.633, 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.2765/0.2765, allocations: 38.1 MB / 265.1 MB, free: 3.938 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000457/0.0004572, allocations: 16 kB / 323.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08967/0.09016, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002389/0.09261, allocations: 1.294 MB / 373.6 MB, free: 11.53 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.09376, allocations: 419.4 kB / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.911e-05/0.09384, allocations: 0 / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002623/0.09412, allocations: 31.83 kB / 374 MB, free: 11.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.09431, allocations: 31.91 kB / 374.1 MB, free: 11.05 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.09457, allocations: 55.8 kB / 374.1 MB, free: 11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.09473, allocations: 47.94 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.09485, allocations: 15.98 kB / 374.2 MB, free: 10.94 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.939e-05/0.09495, allocations: 31.84 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.74e-05/0.09504, allocations: 15.92 kB / 374.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.09506, allocations: 0 / 374.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.0952, allocations: 31.94 kB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.152e-05/0.09527, allocations: 23.91 kB / 374.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.275e-05/0.09533, allocations: 37.64 kB / 374.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.09555, allocations: 80.11 kB / 374.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.09556, allocations: 0 / 374.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.09557, allocations: 0 / 374.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.09559, allocations: 0 / 374.4 MB, free: 10.71 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.0005981/0.0962, allocations: 420.7 kB / 374.8 MB, free: 10.25 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.09625, allocations: 8.031 kB / 374.8 MB, free: 10.24 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.684e-05/0.09631, allocations: 30.56 kB / 374.9 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.09636, allocations: 11.81 kB / 374.9 MB, free: 10.19 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.09666, allocations: 198.3 kB / 375.1 MB, free: 9.961 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-06/0.09669, allocations: 0 / 375.1 MB, free: 9.961 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.09673, allocations: 4 kB / 375.1 MB, free: 9.957 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.09689, allocations: 45.67 kB / 375.1 MB, free: 9.906 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.09692, allocations: 7.938 kB / 375.1 MB, free: 9.898 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.09694, allocations: 4 kB / 375.1 MB, free: 9.895 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.09695, allocations: 0 / 375.1 MB, free: 9.895 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.114e-05/0.09703, allocations: 11.94 kB / 375.1 MB, free: 9.883 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/0.09751, allocations: 284.8 kB / 375.4 MB, free: 9.555 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.09775, allocations: 38.56 kB / 375.4 MB, free: 9.508 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.09779, allocations: 11.94 kB / 375.5 MB, free: 9.496 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.09797, allocations: 55.48 kB / 375.5 MB, free: 9.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.724e-06/0.09798, allocations: 0 / 375.5 MB, free: 9.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004745/0.09846, allocations: 121.5 kB / 375.6 MB, free: 9.305 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.09853, allocations: 51.41 kB / 375.7 MB, free: 9.242 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.09879, allocations: 185.8 kB / 375.9 MB, free: 9.055 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.09882, allocations: 25.7 kB / 375.9 MB, free: 9.023 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.598e-05/0.09892, allocations: 104.1 kB / 376 MB, free: 8.918 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.09896, allocations: 19.8 kB / 376 MB, free: 8.898 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/0.09898, allocations: 0 / 376 MB, free: 8.898 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.09914, allocations: 326.8 kB / 376.3 MB, free: 8.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.064e-05/0.09921, allocations: 12 kB / 376.3 MB, free: 8.559 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.217e-05/0.09928, allocations: 23.98 kB / 376.4 MB, free: 8.535 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.859e-05/0.09938, allocations: 45.7 kB / 376.4 MB, free: 8.484 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.09939, allocations: 0 / 376.4 MB, free: 8.484 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002711/0.09967, allocations: 123.3 kB / 376.5 MB, free: 8.352 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.331e-05/0.09973, allocations: 33.7 kB / 376.6 MB, free: 8.312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.09975, allocations: 7.984 kB / 376.6 MB, free: 8.305 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.09978, allocations: 11.92 kB / 376.6 MB, free: 8.293 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.603e-05/0.09985, allocations: 4 kB / 376.6 MB, free: 8.289 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.09987, allocations: 4 kB / 376.6 MB, free: 8.285 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.378e-05/0.09995, allocations: 0 / 376.6 MB, free: 8.285 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.09997, allocations: 4 kB / 376.6 MB, free: 8.281 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.0001285/0.1001, allocations: 129.7 kB / 376.7 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.1001, allocations: 11.91 kB / 376.7 MB, free: 8.133 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.201e-05/0.1002, allocations: 24.25 kB / 376.8 MB, free: 8.105 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1002, allocations: 0 / 376.8 MB, free: 8.105 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1002, allocations: 0 / 376.8 MB, free: 8.105 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1003, allocations: 3.984 kB / 376.8 MB, free: 8.102 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.1007, allocations: 334.5 kB / 377.1 MB, free: 7.719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1007, allocations: 0 / 377.1 MB, free: 7.719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.828e-05/0.1008, allocations: 8 kB / 377.1 MB, free: 7.711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.1008, allocations: 0 / 377.1 MB, free: 7.711 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.1008, allocations: 3.938 kB / 377.1 MB, free: 7.707 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1008, allocations: 0 / 377.1 MB, free: 7.707 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.1009, allocations: 7.984 kB / 377.1 MB, free: 7.699 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.1011, allocations: 167.4 kB / 377.3 MB, free: 7.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.249e-05/0.1012, allocations: 85.02 kB / 377.3 MB, free: 7.418 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.1012, allocations: 4 kB / 377.4 MB, free: 7.414 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.589e-05/0.1013, allocations: 4 kB / 377.4 MB, free: 7.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.1013, allocations: 4.172 kB / 377.4 MB, free: 7.406 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.1014, allocations: 8 kB / 377.4 MB, free: 7.398 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001568/0.1015, allocations: 139.2 kB / 377.5 MB, free: 7.262 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1016, allocations: 0 / 377.5 MB, free: 7.262 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000357/0.1019, allocations: 27.98 kB / 377.5 MB, free: 7.234 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.001395/0.1033, allocations: 0.9645 MB / 378.5 MB, free: 6.348 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.1036, allocations: 103.4 kB / 378.6 MB, free: 6.234 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1036, allocations: 3.938 kB / 378.6 MB, free: 6.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.829e-05/0.1037, allocations: 15.94 kB / 378.6 MB, free: 6.215 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.104, allocations: 15.98 kB / 378.6 MB, free: 6.199 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008515/0.1048, allocations: 443.5 kB / 379.1 MB, free: 5.719 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.1052, allocations: 0.7004 MB / 379.8 MB, free: 4.992 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.762e-05/0.1052, allocations: 15.94 kB / 379.8 MB, free: 4.977 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.699e-05/0.1053, allocations: 27.42 kB / 379.8 MB, free: 4.949 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1053, allocations: 0 / 379.8 MB, free: 4.949 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/0.1294, allocations: 2.567 MB / 382.4 MB, free: 2.414 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003598/0.1298, allocations: 250.2 kB / 382.6 MB, free: 2.074 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/2.444, allocations: 0 / 382.6 MB, free: 2.074 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat does not exist to compare? outputFormat=mat