Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test54",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.01049/0.01049, allocations: 104.4 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.001088/0.001088, allocations: 168 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.624/1.624, allocations: 170.9 MB / 187.6 MB, free: 0.9922 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.2468/0.2468, allocations: 38.09 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006243/0.0006245, allocations: 12 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09091/0.09158, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002373/0.094, allocations: 1.294 MB / 373.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.09509, allocations: 419.5 kB / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.698e-05/0.09517, allocations: 0 / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.09545, allocations: 19.86 kB / 374 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.09566, allocations: 39.94 kB / 374.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.09593, allocations: 63.8 kB / 374.1 MB, free: 11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.09609, allocations: 47.88 kB / 374.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.09621, allocations: 7.984 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.276e-05/0.0963, allocations: 27.91 kB / 374.2 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.72e-05/0.09639, allocations: 27.86 kB / 374.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.09642, allocations: 0 / 374.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.09657, allocations: 35.92 kB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.896e-05/0.09663, allocations: 23.91 kB / 374.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.416e-05/0.09669, allocations: 33.7 kB / 374.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.09695, allocations: 88.11 kB / 374.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.195e-06/0.09697, allocations: 0 / 374.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.799e-06/0.09698, allocations: 0 / 374.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.09699, allocations: 3.938 kB / 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.0005846/0.09759, allocations: 416.6 kB / 374.8 MB, free: 10.25 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.09764, allocations: 8.031 kB / 374.8 MB, free: 10.24 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.344e-05/0.0977, allocations: 42.5 kB / 374.9 MB, free: 10.19 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.09775, allocations: 7.906 kB / 374.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.09803, allocations: 202.8 kB / 375.1 MB, free: 9.941 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.09806, allocations: 0 / 375.1 MB, free: 9.941 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.09809, allocations: 4 kB / 375.1 MB, free: 9.938 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.09825, allocations: 45.67 kB / 375.1 MB, free: 9.887 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.09828, allocations: 0 / 375.1 MB, free: 9.887 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.0983, allocations: 0 / 375.1 MB, free: 9.887 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.09831, allocations: 0 / 375.1 MB, free: 9.887 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.793e-05/0.09838, allocations: 15.94 kB / 375.1 MB, free: 9.871 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004558/0.09885, allocations: 292.8 kB / 375.4 MB, free: 9.535 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.09909, allocations: 38.56 kB / 375.5 MB, free: 9.488 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.09913, allocations: 0 / 375.5 MB, free: 9.488 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.09931, allocations: 59.42 kB / 375.5 MB, free: 9.418 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.09932, allocations: 0 / 375.5 MB, free: 9.418 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004822/0.09981, allocations: 125.3 kB / 375.6 MB, free: 9.289 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.09987, allocations: 55.41 kB / 375.7 MB, free: 9.223 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/0.1002, allocations: 215.9 kB / 375.9 MB, free: 9 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.1002, allocations: 29.7 kB / 375.9 MB, free: 8.965 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.311e-05/0.1003, allocations: 96.14 kB / 376 MB, free: 8.867 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.1004, allocations: 19.8 kB / 376.1 MB, free: 8.848 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/0.1004, allocations: 0 / 376.1 MB, free: 8.848 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1005, allocations: 326.8 kB / 376.4 MB, free: 8.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.115e-05/0.1006, allocations: 16 kB / 376.4 MB, free: 8.504 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.714e-05/0.1007, allocations: 19.98 kB / 376.4 MB, free: 8.484 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.1008, allocations: 49.7 kB / 376.5 MB, free: 8.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1008, allocations: 4 kB / 376.5 MB, free: 8.426 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000256/0.1011, allocations: 119.2 kB / 376.6 MB, free: 8.297 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.324e-05/0.1011, allocations: 37.78 kB / 376.6 MB, free: 8.254 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1012, allocations: 4.094 kB / 376.6 MB, free: 8.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.1012, allocations: 0 / 376.6 MB, free: 8.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.956e-05/0.1013, allocations: 8 kB / 376.6 MB, free: 8.242 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.1013, allocations: 7.922 kB / 376.6 MB, free: 8.234 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.727e-05/0.1014, allocations: 4 kB / 376.6 MB, free: 8.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.1014, allocations: 12 kB / 376.6 MB, free: 8.219 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.0001393/0.1015, allocations: 131.1 kB / 376.8 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.1016, allocations: 11.84 kB / 376.8 MB, free: 8.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.837e-05/0.1017, allocations: 20.97 kB / 376.8 MB, free: 8.051 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1017, allocations: 0 / 376.8 MB, free: 8.051 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1017, allocations: 0 / 376.8 MB, free: 8.051 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1017, allocations: 4 kB / 376.8 MB, free: 8.047 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004499/0.1022, allocations: 342.5 kB / 377.1 MB, free: 7.656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1022, allocations: 4 kB / 377.1 MB, free: 7.652 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.252e-05/0.1022, allocations: 8 kB / 377.2 MB, free: 7.645 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.1022, allocations: 0 / 377.2 MB, free: 7.645 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.1023, allocations: 0 / 377.2 MB, free: 7.645 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1023, allocations: 0 / 377.2 MB, free: 7.645 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.1023, allocations: 0 / 377.2 MB, free: 7.645 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.1025, allocations: 179.2 kB / 377.3 MB, free: 7.453 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/0.1026, allocations: 85 kB / 377.4 MB, free: 7.352 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.1026, allocations: 8 kB / 377.4 MB, free: 7.344 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1028, allocations: 0 / 377.4 MB, free: 7.344 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.1028, allocations: 8 kB / 377.4 MB, free: 7.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.1028, allocations: 4.172 kB / 377.4 MB, free: 7.332 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002041/0.1031, allocations: 155.9 kB / 377.6 MB, free: 7.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1031, allocations: 0 / 377.6 MB, free: 7.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003768/0.1035, allocations: 24 kB / 377.6 MB, free: 7.156 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.001572/0.105, allocations: 0.9737 MB / 378.6 MB, free: 6.262 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002824/0.1054, allocations: 99.39 kB / 378.7 MB, free: 6.152 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1054, allocations: 0 / 378.7 MB, free: 6.152 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.858e-05/0.1055, allocations: 23.92 kB / 378.7 MB, free: 6.129 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.1058, allocations: 23.92 kB / 378.7 MB, free: 6.105 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009738/0.1068, allocations: 460.2 kB / 379.2 MB, free: 5.609 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.1072, allocations: 0.7043 MB / 379.9 MB, free: 4.879 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.064e-05/0.1073, allocations: 16.12 kB / 379.9 MB, free: 4.863 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.172e-05/0.1074, allocations: 27.42 kB / 379.9 MB, free: 4.836 MB / 282.7 MB Notification: Performance of SimCode: time 1.543e-06/0.1074, allocations: 4 kB / 379.9 MB, free: 4.832 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02656/0.134, allocations: 2.666 MB / 382.6 MB, free: 2.199 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005757/0.1347, allocations: 250.2 kB / 382.8 MB, free: 1.859 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.235/2.37, allocations: 0 / 382.8 MB, free: 1.859 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat does not exist to compare? outputFormat=mat