Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test32",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.0106/0.0106, allocations: 103.5 kB / 15.05 MB, free: 5.949 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.001317/0.001317, allocations: 172.1 kB / 15.93 MB, free: 5.91 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.588/1.588, allocations: 170.9 MB / 187.5 MB, free: 0.8477 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.2488/0.2488, allocations: 38.1 MB / 265.1 MB, free: 3.941 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005241/0.0005243, allocations: 12 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09133/0.0919, allocations: 48.7 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002384/0.09434, allocations: 1.29 MB / 373.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.09546, allocations: 415.5 kB / 374 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.678e-05/0.09556, allocations: 3.938 kB / 374 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.09584, allocations: 23.89 kB / 374 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.09603, allocations: 27.91 kB / 374 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.09628, allocations: 59.81 kB / 374.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.09645, allocations: 47.88 kB / 374.1 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.656e-05/0.09656, allocations: 23.94 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.15e-05/0.09665, allocations: 23.92 kB / 374.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.175e-05/0.09673, allocations: 15.94 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.09676, allocations: 4 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.09689, allocations: 39.84 kB / 374.3 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.987e-05/0.09695, allocations: 11.98 kB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.036e-05/0.09701, allocations: 37.64 kB / 374.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.09722, allocations: 76.12 kB / 374.4 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.09724, allocations: 4 kB / 374.4 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.09725, allocations: 0 / 374.4 MB, free: 10.74 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.09726, allocations: 0 / 374.4 MB, free: 10.74 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.0005602/0.09783, allocations: 408.7 kB / 374.8 MB, free: 10.29 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.09789, allocations: 12.03 kB / 374.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.25e-05/0.09795, allocations: 34.5 kB / 374.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.098, allocations: 7.906 kB / 374.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.09826, allocations: 198.8 kB / 375 MB, free: 9.988 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.09829, allocations: 3.938 kB / 375 MB, free: 9.984 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.09833, allocations: 15.98 kB / 375 MB, free: 9.969 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.09847, allocations: 41.69 kB / 375.1 MB, free: 9.922 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.0985, allocations: 0 / 375.1 MB, free: 9.922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.09851, allocations: 0 / 375.1 MB, free: 9.922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.09853, allocations: 0 / 375.1 MB, free: 9.922 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.915e-05/0.0986, allocations: 15.98 kB / 375.1 MB, free: 9.906 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004182/0.09903, allocations: 276.9 kB / 375.4 MB, free: 9.586 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.09928, allocations: 46.5 kB / 375.4 MB, free: 9.531 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.09931, allocations: 0 / 375.4 MB, free: 9.531 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.09948, allocations: 55.48 kB / 375.5 MB, free: 9.465 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/0.0995, allocations: 0 / 375.5 MB, free: 9.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004966/0.1, allocations: 117.3 kB / 375.6 MB, free: 9.344 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.1001, allocations: 51.41 kB / 375.6 MB, free: 9.281 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.1003, allocations: 176.7 kB / 375.8 MB, free: 9.102 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.1003, allocations: 29.7 kB / 375.8 MB, free: 9.066 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.692e-05/0.1004, allocations: 96.12 kB / 375.9 MB, free: 8.969 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.1005, allocations: 19.75 kB / 376 MB, free: 8.949 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.662e-06/0.1005, allocations: 0 / 376 MB, free: 8.949 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1006, allocations: 322.8 kB / 376.3 MB, free: 8.625 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.689e-05/0.1007, allocations: 15.98 kB / 376.3 MB, free: 8.609 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.18e-05/0.1008, allocations: 20 kB / 376.3 MB, free: 8.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.819e-05/0.1009, allocations: 49.64 kB / 376.4 MB, free: 8.535 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.1009, allocations: 0 / 376.4 MB, free: 8.535 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002487/0.1012, allocations: 131.3 kB / 376.5 MB, free: 8.395 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.406e-05/0.1012, allocations: 29.8 kB / 376.5 MB, free: 8.359 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1012, allocations: 3.938 kB / 376.5 MB, free: 8.355 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.1013, allocations: 4 kB / 376.5 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.695e-05/0.1014, allocations: 11.92 kB / 376.5 MB, free: 8.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.1014, allocations: 7.938 kB / 376.5 MB, free: 8.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.677e-05/0.1014, allocations: 3.953 kB / 376.5 MB, free: 8.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.1015, allocations: 4 kB / 376.5 MB, free: 8.324 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.000116/0.1016, allocations: 118.9 kB / 376.7 MB, free: 8.199 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.1016, allocations: 19.89 kB / 376.7 MB, free: 8.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.089e-05/0.1017, allocations: 8.312 kB / 376.7 MB, free: 8.168 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1017, allocations: 288 / 376.7 MB, free: 8.168 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1017, allocations: 0 / 376.7 MB, free: 8.168 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.1017, allocations: 3.984 kB / 376.7 MB, free: 8.164 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004365/0.1022, allocations: 342.5 kB / 377 MB, free: 7.773 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1022, allocations: 0 / 377 MB, free: 7.773 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.653e-05/0.1023, allocations: 7.984 kB / 377 MB, free: 7.766 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1023, allocations: 0 / 377 MB, free: 7.766 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.1023, allocations: 4 kB / 377 MB, free: 7.762 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.1023, allocations: 4 kB / 377 MB, free: 7.758 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1023, allocations: 3.953 kB / 377 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.1025, allocations: 163.5 kB / 377.2 MB, free: 7.578 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.079e-05/0.1026, allocations: 85 kB / 377.3 MB, free: 7.477 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.1026, allocations: 192 / 377.3 MB, free: 7.477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.042e-05/0.1027, allocations: 12 kB / 377.3 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.1028, allocations: 4 kB / 377.3 MB, free: 7.461 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.1028, allocations: 11.89 kB / 377.3 MB, free: 7.449 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001443/0.103, allocations: 134.8 kB / 377.4 MB, free: 7.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-07/0.103, allocations: 0 / 377.4 MB, free: 7.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003467/0.1034, allocations: 24 kB / 377.5 MB, free: 7.297 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.001408/0.1048, allocations: 0.9612 MB / 378.4 MB, free: 6.418 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002288/0.105, allocations: 103.3 kB / 378.5 MB, free: 6.305 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1051, allocations: 4 kB / 378.5 MB, free: 6.301 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.563e-05/0.1051, allocations: 15.98 kB / 378.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.1054, allocations: 15.94 kB / 378.6 MB, free: 6.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008084/0.1063, allocations: 431.2 kB / 379 MB, free: 5.801 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.1066, allocations: 0.7043 MB / 379.7 MB, free: 5.07 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.606e-05/0.1067, allocations: 11.84 kB / 379.7 MB, free: 5.059 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.895e-05/0.1067, allocations: 27.42 kB / 379.7 MB, free: 5.031 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1067, allocations: 0 / 379.7 MB, free: 5.031 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.1302, allocations: 2.523 MB / 382.3 MB, free: 2.539 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003686/0.1307, allocations: 250.2 kB / 382.5 MB, free: 2.199 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.428/2.558, allocations: 0 / 382.5 MB, free: 2.199 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat does not exist to compare? outputFormat=mat