Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test16",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.01106/0.01107, 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.00121/0.001211, 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.742/1.742, allocations: 170.9 MB / 187.6 MB, free: 1 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.255/0.255, allocations: 38.09 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004623/0.0004625, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09058/0.09108, allocations: 48.72 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002353/0.09348, allocations: 1.283 MB / 373.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.09461, allocations: 427.4 kB / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.11e-05/0.0947, allocations: 3.938 kB / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.09497, allocations: 15.92 kB / 374 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.09517, allocations: 35.89 kB / 374.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.09545, allocations: 63.8 kB / 374.1 MB, free: 11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.09561, allocations: 47.88 kB / 374.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.456e-05/0.09572, allocations: 7.984 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.145e-05/0.09582, allocations: 27.91 kB / 374.2 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.79e-05/0.0959, allocations: 15.92 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.09593, allocations: 0 / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.09608, allocations: 35.88 kB / 374.2 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.333e-05/0.09614, allocations: 15.98 kB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.193e-05/0.0962, allocations: 37.64 kB / 374.3 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.09642, allocations: 80.11 kB / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.09644, allocations: 0 / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.09645, allocations: 0 / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.09646, 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.0006105/0.09708, allocations: 404.7 kB / 374.8 MB, free: 10.29 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.09714, allocations: 8.031 kB / 374.8 MB, free: 10.28 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.0972, allocations: 38.56 kB / 374.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.09725, allocations: 11.91 kB / 374.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.0975, allocations: 188.3 kB / 375 MB, free: 9.996 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.09753, allocations: 4 kB / 375 MB, free: 9.992 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.09757, allocations: 3.938 kB / 375 MB, free: 9.988 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.09772, allocations: 49.61 kB / 375.1 MB, free: 9.934 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.09775, allocations: 0 / 375.1 MB, free: 9.934 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.09777, allocations: 0 / 375.1 MB, free: 9.934 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.09778, allocations: 4 kB / 375.1 MB, free: 9.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.007e-05/0.09786, allocations: 11.98 kB / 375.1 MB, free: 9.918 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.09828, allocations: 280.8 kB / 375.4 MB, free: 9.594 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.09853, allocations: 46.5 kB / 375.4 MB, free: 9.539 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.09858, allocations: 3.984 kB / 375.4 MB, free: 9.535 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.09876, allocations: 59.48 kB / 375.5 MB, free: 9.465 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.904e-06/0.09877, allocations: 0 / 375.5 MB, free: 9.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004663/0.09925, allocations: 109.6 kB / 375.6 MB, free: 9.352 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.09931, allocations: 55.41 kB / 375.6 MB, free: 9.285 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.09952, allocations: 160.7 kB / 375.8 MB, free: 9.117 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.09956, allocations: 33.7 kB / 375.8 MB, free: 9.078 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.667e-05/0.09964, allocations: 88.14 kB / 375.9 MB, free: 8.988 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.09969, allocations: 19.73 kB / 375.9 MB, free: 8.969 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.759e-06/0.09971, allocations: 4 kB / 375.9 MB, free: 8.965 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.09984, allocations: 314.8 kB / 376.2 MB, free: 8.648 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.776e-05/0.09992, allocations: 23.98 kB / 376.3 MB, free: 8.625 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.488e-05/0.09999, allocations: 19.98 kB / 376.3 MB, free: 8.605 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.515e-05/0.1001, allocations: 49.64 kB / 376.3 MB, free: 8.551 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1001, allocations: 0 / 376.3 MB, free: 8.551 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002508/0.1004, allocations: 119.3 kB / 376.4 MB, free: 8.422 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.1004, allocations: 29.7 kB / 376.5 MB, free: 8.387 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1004, allocations: 0 / 376.5 MB, free: 8.387 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1005, allocations: 7.984 kB / 376.5 MB, free: 8.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.365e-05/0.1006, allocations: 11.94 kB / 376.5 MB, free: 8.367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1006, allocations: 4.094 kB / 376.5 MB, free: 8.363 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.649e-05/0.1007, allocations: 15.88 kB / 376.5 MB, free: 8.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.1007, allocations: 8.156 kB / 376.5 MB, free: 8.34 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.0001267/0.1008, allocations: 130.8 kB / 376.6 MB, free: 8.203 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.1009, allocations: 7.906 kB / 376.7 MB, free: 8.195 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.794e-05/0.1009, allocations: 8.312 kB / 376.7 MB, free: 8.184 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.101, allocations: 0 / 376.7 MB, free: 8.184 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.101, allocations: 0 / 376.7 MB, free: 8.184 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.101, allocations: 0 / 376.7 MB, free: 8.184 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/0.1015, allocations: 342.5 kB / 377 MB, free: 7.793 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1015, allocations: 4 kB / 377 MB, free: 7.789 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.291e-05/0.1015, allocations: 4 kB / 377 MB, free: 7.785 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.1015, allocations: 4 kB / 377 MB, free: 7.781 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1016, allocations: 0 / 377 MB, free: 7.781 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.1016, allocations: 0 / 377 MB, free: 7.781 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.1016, allocations: 3.953 kB / 377 MB, free: 7.777 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.1018, allocations: 163.5 kB / 377.2 MB, free: 7.602 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.1019, allocations: 85 kB / 377.3 MB, free: 7.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.1019, allocations: 8 kB / 377.3 MB, free: 7.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.002e-05/0.102, allocations: 4 kB / 377.3 MB, free: 7.488 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.1021, allocations: 4 kB / 377.3 MB, free: 7.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.1021, allocations: 7.938 kB / 377.3 MB, free: 7.477 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001275/0.1022, allocations: 115.3 kB / 377.4 MB, free: 7.363 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1022, allocations: 3.938 kB / 377.4 MB, free: 7.359 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003703/0.1026, allocations: 27.98 kB / 377.4 MB, free: 7.332 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.001411/0.104, allocations: 0.9727 MB / 378.4 MB, free: 6.445 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002357/0.1043, allocations: 103.3 kB / 378.5 MB, free: 6.332 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1043, allocations: 0 / 378.5 MB, free: 6.332 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.089e-05/0.1044, allocations: 20 kB / 378.5 MB, free: 6.312 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.1047, allocations: 19.88 kB / 378.5 MB, free: 6.293 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008399/0.1056, allocations: 407 kB / 378.9 MB, free: 5.848 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.1059, allocations: 0.7004 MB / 379.6 MB, free: 5.121 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.034e-05/0.106, allocations: 11.95 kB / 379.6 MB, free: 5.109 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.421e-05/0.1061, allocations: 27.42 kB / 379.7 MB, free: 5.082 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1061, allocations: 0 / 379.7 MB, free: 5.082 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0303/0.1364, allocations: 2.451 MB / 382.1 MB, free: 2.66 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003728/0.1369, allocations: 254.1 kB / 382.4 MB, free: 2.316 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/2.535, allocations: 0 / 382.4 MB, free: 2.316 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat does not exist to compare? outputFormat=mat