Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test33",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.01077/0.01078, allocations: 104.6 kB / 15.05 MB, free: 5.551 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.001108/0.001108, allocations: 168.5 kB / 15.93 MB, free: 5.523 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.627/1.627, allocations: 170.9 MB / 187.5 MB, free: 0.9844 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.2489/0.2489, allocations: 38.09 MB / 265.1 MB, free: 3.957 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004444/0.0004445, allocations: 19.98 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09703/0.0975, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.00231/0.09986, allocations: 1.294 MB / 373.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.1009, allocations: 415.5 kB / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.335e-05/0.101, allocations: 3.938 kB / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.1012, allocations: 27.91 kB / 374 MB, free: 11.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001621/0.1014, allocations: 27.89 kB / 374.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.1017, allocations: 59.8 kB / 374.1 MB, free: 11.01 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.1018, allocations: 47.88 kB / 374.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.753e-05/0.1019, allocations: 11.98 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.372e-05/0.102, allocations: 31.91 kB / 374.2 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.476e-05/0.1021, allocations: 19.92 kB / 374.2 MB, free: 10.9 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.1021, allocations: 0 / 374.2 MB, free: 10.9 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.1023, allocations: 39.86 kB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.031e-05/0.1023, allocations: 7.984 kB / 374.3 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.053e-05/0.1024, allocations: 37.64 kB / 374.3 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.1026, allocations: 80.11 kB / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.1026, allocations: 0 / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1026, allocations: 0 / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1026, allocations: 0 / 374.4 MB, free: 10.73 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.0005339/0.1031, allocations: 420.7 kB / 374.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.1032, allocations: 8.031 kB / 374.8 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.1032, allocations: 30.56 kB / 374.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.1033, allocations: 7.906 kB / 374.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.1036, allocations: 194.8 kB / 375 MB, free: 9.98 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.1036, allocations: 7.938 kB / 375 MB, free: 9.973 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.1036, allocations: 4 kB / 375 MB, free: 9.969 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.1038, allocations: 45.67 kB / 375.1 MB, free: 9.918 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1038, allocations: 0 / 375.1 MB, free: 9.918 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1038, allocations: 4 kB / 375.1 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1038, allocations: 0 / 375.1 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.665e-05/0.1039, allocations: 15.98 kB / 375.1 MB, free: 9.898 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.1043, allocations: 272.9 kB / 375.4 MB, free: 9.582 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.1045, allocations: 42.5 kB / 375.4 MB, free: 9.531 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.1046, allocations: 0 / 375.4 MB, free: 9.531 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.1048, allocations: 67.48 kB / 375.5 MB, free: 9.453 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.1048, allocations: 0 / 375.5 MB, free: 9.453 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004555/0.1052, allocations: 109.5 kB / 375.6 MB, free: 9.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.1053, allocations: 51.41 kB / 375.6 MB, free: 9.277 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.1055, allocations: 180.9 kB / 375.8 MB, free: 9.094 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.1056, allocations: 25.7 kB / 375.8 MB, free: 9.062 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.398e-05/0.1056, allocations: 100.1 kB / 375.9 MB, free: 8.961 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.1057, allocations: 23.75 kB / 376 MB, free: 8.938 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.1057, allocations: 0 / 376 MB, free: 8.938 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1059, allocations: 318.8 kB / 376.3 MB, free: 8.617 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.404e-05/0.1059, allocations: 23.98 kB / 376.3 MB, free: 8.594 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.451e-05/0.106, allocations: 12 kB / 376.3 MB, free: 8.582 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.87e-05/0.1061, allocations: 49.64 kB / 376.4 MB, free: 8.527 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1061, allocations: 0 / 376.4 MB, free: 8.527 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002495/0.1064, allocations: 127.4 kB / 376.5 MB, free: 8.391 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.085e-05/0.1064, allocations: 33.7 kB / 376.5 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1064, allocations: 0 / 376.5 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1065, allocations: 7.984 kB / 376.5 MB, free: 8.344 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.367e-05/0.1066, allocations: 15.88 kB / 376.5 MB, free: 8.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1066, allocations: 0 / 376.5 MB, free: 8.328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.564e-05/0.1066, allocations: 11.94 kB / 376.5 MB, free: 8.316 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.1067, allocations: 0 / 376.5 MB, free: 8.316 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.0001163/0.1068, allocations: 122.9 kB / 376.7 MB, free: 8.188 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.939e-05/0.1068, allocations: 7.906 kB / 376.7 MB, free: 8.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.561e-05/0.1069, allocations: 16.3 kB / 376.7 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1069, allocations: 4 kB / 376.7 MB, free: 8.156 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.1069, allocations: 4.062 kB / 376.7 MB, free: 8.152 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1069, allocations: 0 / 376.7 MB, free: 8.152 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004279/0.1074, allocations: 338.5 kB / 377 MB, free: 7.766 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1074, allocations: 0 / 377 MB, free: 7.766 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.1074, allocations: 7.984 kB / 377 MB, free: 7.758 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/0.1075, allocations: 4 kB / 377 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.1075, allocations: 0 / 377 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1075, allocations: 0 / 377 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.1075, allocations: 3.953 kB / 377 MB, free: 7.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.1077, allocations: 167.5 kB / 377.2 MB, free: 7.57 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.612e-05/0.1078, allocations: 85.02 kB / 377.3 MB, free: 7.469 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.1078, allocations: 3.984 kB / 377.3 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.492e-05/0.1079, allocations: 4 kB / 377.3 MB, free: 7.461 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.108, allocations: 4 kB / 377.3 MB, free: 7.457 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.108, allocations: 7.891 kB / 377.3 MB, free: 7.449 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001373/0.1081, allocations: 130.8 kB / 377.4 MB, free: 7.324 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1082, allocations: 4 kB / 377.4 MB, free: 7.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000361/0.1085, allocations: 31.98 kB / 377.5 MB, free: 7.289 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.001392/0.1099, allocations: 0.9576 MB / 378.4 MB, free: 6.414 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.1102, allocations: 111.3 kB / 378.5 MB, free: 6.293 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.1102, allocations: 0 / 378.5 MB, free: 6.293 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.548e-05/0.1102, allocations: 19.94 kB / 378.6 MB, free: 6.273 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.1105, allocations: 20.06 kB / 378.6 MB, free: 6.254 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008447/0.1114, allocations: 431.3 kB / 379 MB, free: 5.785 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.1119, allocations: 0.6965 MB / 379.7 MB, free: 5.062 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.853e-05/0.1119, allocations: 15.84 kB / 379.7 MB, free: 5.047 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.089e-05/0.112, allocations: 23.44 kB / 379.7 MB, free: 5.023 MB / 282.7 MB Notification: Performance of SimCode: time 7.01e-07/0.112, allocations: 0 / 379.7 MB, free: 5.023 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02536/0.1374, allocations: 2.521 MB / 382.3 MB, free: 2.535 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003946/0.1378, allocations: 246.2 kB / 382.5 MB, free: 2.199 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.269/2.406, allocations: 4.062 kB / 382.5 MB, free: 2.195 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat does not exist to compare? outputFormat=mat