Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test61",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.0178/0.0178, 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.0017/0.0017, allocations: 166.8 kB / 15.94 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.619/1.619, allocations: 170.9 MB / 187.5 MB, free: 1.008 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.2474/0.2474, allocations: 38.09 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004627/0.0004629, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0883/0.08879, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002155/0.091, allocations: 1.255 MB / 373.5 MB, free: 11.58 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009807/0.092, allocations: 407.5 kB / 373.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.249e-05/0.09207, allocations: 3.938 kB / 373.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002328/0.09231, allocations: 23.91 kB / 374 MB, free: 11.15 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.0925, allocations: 39.88 kB / 374 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.09274, allocations: 55.8 kB / 374.1 MB, free: 11.06 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.09289, allocations: 47.88 kB / 374.1 MB, free: 11.01 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.09295, allocations: 7.984 kB / 374.1 MB, free: 11 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.723e-05/0.09304, allocations: 31.92 kB / 374.2 MB, free: 10.97 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.863e-05/0.09313, allocations: 19.92 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.09316, allocations: 7.984 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.926e-05/0.09326, allocations: 15.98 kB / 374.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.043e-05/0.09333, allocations: 23.92 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.259e-05/0.09339, allocations: 37.64 kB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.09359, allocations: 84.05 kB / 374.3 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.0936, allocations: 0 / 374.3 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.09362, allocations: 0 / 374.3 MB, free: 10.78 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.09363, allocations: 0 / 374.3 MB, free: 10.78 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005546/0.09419, allocations: 424.6 kB / 374.8 MB, free: 10.31 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.09425, allocations: 8.031 kB / 374.8 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.157e-05/0.0943, allocations: 34.55 kB / 374.8 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.09435, allocations: 11.91 kB / 374.8 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.0946, allocations: 202.8 kB / 375 MB, free: 10.01 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.09463, allocations: 0 / 375 MB, free: 10.01 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.09466, allocations: 4 kB / 375 MB, free: 10.01 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.09478, allocations: 37.69 kB / 375 MB, free: 9.965 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.0948, allocations: 4 kB / 375 MB, free: 9.961 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.09482, allocations: 0 / 375 MB, free: 9.961 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.09483, allocations: 4 kB / 375.1 MB, free: 9.957 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.668e-05/0.0949, allocations: 11.98 kB / 375.1 MB, free: 9.945 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002286/0.09514, allocations: 185.6 kB / 375.2 MB, free: 9.715 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.215e-05/0.09523, allocations: 34.47 kB / 375.3 MB, free: 9.672 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.09527, allocations: 3.938 kB / 375.3 MB, free: 9.668 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.09544, allocations: 63.36 kB / 375.3 MB, free: 9.594 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.944e-06/0.09545, allocations: 0 / 375.3 MB, free: 9.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.000233/0.0957, allocations: 69.53 kB / 375.4 MB, free: 9.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.09575, allocations: 55.34 kB / 375.5 MB, free: 9.453 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.09609, allocations: 243.5 kB / 375.7 MB, free: 9.199 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.09613, allocations: 25.7 kB / 375.7 MB, free: 9.168 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.53e-05/0.09623, allocations: 108.1 kB / 375.8 MB, free: 9.059 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.09627, allocations: 7.906 kB / 375.8 MB, free: 9.051 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-06/0.09629, allocations: 4 kB / 375.8 MB, free: 9.047 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.09642, allocations: 322.8 kB / 376.2 MB, free: 8.723 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.015e-05/0.09648, allocations: 12 kB / 376.2 MB, free: 8.711 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.23e-05/0.09655, allocations: 27.95 kB / 376.2 MB, free: 8.684 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.187e-05/0.09665, allocations: 37.7 kB / 376.2 MB, free: 8.641 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.09666, allocations: 0 / 376.2 MB, free: 8.641 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002184/0.09689, allocations: 115.2 kB / 376.3 MB, free: 8.516 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/0.09694, allocations: 33.69 kB / 376.4 MB, free: 8.477 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.09696, allocations: 4 kB / 376.4 MB, free: 8.473 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.09698, allocations: 4 kB / 376.4 MB, free: 8.469 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.924e-05/0.09706, allocations: 7.938 kB / 376.4 MB, free: 8.461 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.09708, allocations: 0 / 376.4 MB, free: 8.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.27e-05/0.09715, allocations: 4.125 kB / 376.4 MB, free: 8.457 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.09717, allocations: 4 kB / 376.4 MB, free: 8.453 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 (5): * Single equations (assignments): 4 * 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.0001295/0.09731, allocations: 131 kB / 376.5 MB, free: 8.316 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.09735, allocations: 15.77 kB / 376.5 MB, free: 8.301 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.546e-05/0.09741, allocations: 24.91 kB / 376.6 MB, free: 8.273 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.09742, allocations: 0 / 376.6 MB, free: 8.273 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.09744, allocations: 4 kB / 376.6 MB, free: 8.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.09745, allocations: 0 / 376.6 MB, free: 8.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.09763, allocations: 185.6 kB / 376.8 MB, free: 8.039 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.09764, allocations: 0 / 376.8 MB, free: 8.039 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.228e-05/0.09767, allocations: 0 / 376.8 MB, free: 8.039 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.09769, allocations: 3.953 kB / 376.8 MB, free: 8.035 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.09771, allocations: 4 kB / 376.8 MB, free: 8.031 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.09772, allocations: 0 / 376.8 MB, free: 8.031 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.09773, allocations: 0 / 376.8 MB, free: 8.031 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.09789, allocations: 96.89 kB / 376.9 MB, free: 7.918 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.09797, allocations: 88.92 kB / 376.9 MB, free: 7.812 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.09801, allocations: 7.953 kB / 377 MB, free: 7.805 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.523e-05/0.09806, allocations: 0 / 377 MB, free: 7.805 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.09811, allocations: 7.984 kB / 377 MB, free: 7.797 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.09813, allocations: 0 / 377 MB, free: 7.797 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002236/0.09837, allocations: 185.1 kB / 377.1 MB, free: 7.617 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.09838, allocations: 3.938 kB / 377.1 MB, free: 7.613 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002838/0.09867, allocations: 23.94 kB / 377.2 MB, free: 7.59 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 (3): * Single equations (assignments): 2 * 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.001214/0.0999, allocations: 0.848 MB / 378 MB, free: 6.812 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.1001, allocations: 91.38 kB / 378.1 MB, free: 6.711 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1001, allocations: 0 / 378.1 MB, free: 6.711 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.752e-05/0.1002, allocations: 12 kB / 378.1 MB, free: 6.699 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.1004, allocations: 24.12 kB / 378.1 MB, free: 6.676 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008222/0.1013, allocations: 493.1 kB / 378.6 MB, free: 6.148 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.1016, allocations: 0.7043 MB / 379.3 MB, free: 5.418 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.706e-05/0.1016, allocations: 12.17 kB / 379.3 MB, free: 5.406 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.182e-05/0.1017, allocations: 31.42 kB / 379.4 MB, free: 5.375 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1017, allocations: 0 / 379.4 MB, free: 5.375 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.1237, allocations: 2.586 MB / 382 MB, free: 2.824 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/0.1239, allocations: 250.3 kB / 382.2 MB, free: 2.484 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.243/2.367, allocations: 4 kB / 382.2 MB, free: 2.48 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat does not exist to compare? outputFormat=mat