Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test28",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.01116/0.01116, allocations: 104.6 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.001164/0.001164, 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.702/1.702, allocations: 170.9 MB / 187.5 MB, free: 0.8594 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.2517/0.2517, allocations: 38.09 MB / 265.1 MB, free: 3.953 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006145/0.0006146, allocations: 12 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08918/0.08983, allocations: 48.72 MB / 372.3 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002277/0.09215, allocations: 1.283 MB / 373.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.0932, allocations: 419.4 kB / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.968e-05/0.09327, allocations: 0 / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.09352, allocations: 27.84 kB / 374 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.09371, allocations: 31.89 kB / 374.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.09395, allocations: 63.8 kB / 374.1 MB, free: 11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.09411, allocations: 47.94 kB / 374.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.804e-05/0.09421, allocations: 11.97 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.316e-05/0.09429, allocations: 27.86 kB / 374.2 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.371e-05/0.09437, allocations: 15.92 kB / 374.2 MB, free: 10.9 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.0944, allocations: 0 / 374.2 MB, free: 10.9 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.09453, allocations: 35.92 kB / 374.3 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.842e-05/0.09459, allocations: 19.92 kB / 374.3 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.166e-05/0.09464, allocations: 33.7 kB / 374.3 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.09485, allocations: 80.11 kB / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.09486, allocations: 7.938 kB / 374.4 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.09488, allocations: 0 / 374.4 MB, free: 10.72 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.09489, 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.0005259/0.09542, allocations: 404.7 kB / 374.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.09547, allocations: 8.031 kB / 374.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.858e-05/0.09553, allocations: 38.56 kB / 374.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.09558, allocations: 7.906 kB / 374.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.09582, allocations: 190.8 kB / 375 MB, free: 9.984 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.09584, allocations: 8 kB / 375 MB, free: 9.977 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.09587, allocations: 0 / 375 MB, free: 9.977 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.09602, allocations: 45.67 kB / 375.1 MB, free: 9.926 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.09605, allocations: 0 / 375.1 MB, free: 9.926 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.09607, allocations: 4 kB / 375.1 MB, free: 9.922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.09609, allocations: 3.938 kB / 375.1 MB, free: 9.918 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.405e-05/0.09616, allocations: 15.92 kB / 375.1 MB, free: 9.902 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.09656, allocations: 280.9 kB / 375.4 MB, free: 9.578 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.09679, allocations: 42.56 kB / 375.4 MB, free: 9.527 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.09683, allocations: 4 kB / 375.4 MB, free: 9.523 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/0.097, allocations: 59.42 kB / 375.5 MB, free: 9.453 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.823e-06/0.09702, allocations: 0 / 375.5 MB, free: 9.453 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004423/0.09747, allocations: 109.3 kB / 375.6 MB, free: 9.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.09753, allocations: 59.41 kB / 375.6 MB, free: 9.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.09775, allocations: 176.9 kB / 375.8 MB, free: 9.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.09778, allocations: 29.7 kB / 375.8 MB, free: 9.055 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.92e-05/0.09786, allocations: 96.12 kB / 375.9 MB, free: 8.957 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.0979, allocations: 19.73 kB / 376 MB, free: 8.938 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/0.09792, allocations: 4 kB / 376 MB, free: 8.934 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.09805, allocations: 322.8 kB / 376.3 MB, free: 8.609 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.178e-05/0.09812, allocations: 15.98 kB / 376.3 MB, free: 8.594 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.842e-05/0.09819, allocations: 20 kB / 376.3 MB, free: 8.574 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.832e-05/0.09829, allocations: 45.7 kB / 376.4 MB, free: 8.523 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.09831, allocations: 4 kB / 376.4 MB, free: 8.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00026/0.09858, allocations: 119.2 kB / 376.5 MB, free: 8.391 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.298e-05/0.09863, allocations: 33.7 kB / 376.5 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.09865, allocations: 0 / 376.5 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.09867, allocations: 0 / 376.5 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.153e-05/0.09875, allocations: 15.94 kB / 376.5 MB, free: 8.336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.09877, allocations: 8.125 kB / 376.5 MB, free: 8.328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.227e-05/0.09884, allocations: 7.953 kB / 376.5 MB, free: 8.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.09887, allocations: 4 kB / 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.0001515/0.09903, allocations: 126.8 kB / 376.7 MB, free: 8.184 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.09907, allocations: 8 kB / 376.7 MB, free: 8.176 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.698e-05/0.09914, allocations: 20.3 kB / 376.7 MB, free: 8.152 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.09915, allocations: 4 kB / 376.7 MB, free: 8.148 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.09916, allocations: 0 / 376.7 MB, free: 8.148 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.09918, allocations: 0 / 376.7 MB, free: 8.148 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004843/0.09967, allocations: 330.5 kB / 377 MB, free: 7.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.09969, allocations: 0 / 377 MB, free: 7.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.048e-05/0.09975, allocations: 11.98 kB / 377 MB, free: 7.758 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.09976, allocations: 4 kB / 377 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.09978, allocations: 4 kB / 377 MB, free: 7.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.0998, allocations: 0 / 377 MB, free: 7.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.09981, allocations: 7.891 kB / 377.1 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.1, allocations: 163.5 kB / 377.2 MB, free: 7.566 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.245e-05/0.1001, allocations: 85.02 kB / 377.3 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.1002, allocations: 3.984 kB / 377.3 MB, free: 7.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.415e-05/0.1003, allocations: 8 kB / 377.3 MB, free: 7.453 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.1003, allocations: 0 / 377.3 MB, free: 7.453 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.1003, allocations: 7.953 kB / 377.3 MB, free: 7.445 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001421/0.1005, allocations: 134.8 kB / 377.4 MB, free: 7.316 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1005, allocations: 4 kB / 377.4 MB, free: 7.312 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003494/0.1009, allocations: 20 kB / 377.5 MB, free: 7.293 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.001347/0.1022, allocations: 0.9716 MB / 378.4 MB, free: 6.402 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002173/0.1025, allocations: 103.4 kB / 378.5 MB, free: 6.289 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.1025, allocations: 0 / 378.5 MB, free: 6.289 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.416e-05/0.1025, allocations: 27.86 kB / 378.6 MB, free: 6.262 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.1028, allocations: 12 kB / 378.6 MB, free: 6.25 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007691/0.1036, allocations: 419.3 kB / 379 MB, free: 5.793 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.1039, allocations: 0.7043 MB / 379.7 MB, free: 5.062 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.676e-05/0.104, allocations: 23.92 kB / 379.7 MB, free: 5.039 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.438e-05/0.1041, allocations: 23.44 kB / 379.7 MB, free: 5.016 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1041, allocations: 0 / 379.7 MB, free: 5.016 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02661/0.1308, allocations: 2.505 MB / 382.2 MB, free: 2.543 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003663/0.1312, allocations: 262.2 kB / 382.5 MB, free: 2.191 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.403/2.535, allocations: 0 / 382.5 MB, free: 2.191 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat does not exist to compare? outputFormat=mat