Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test3",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.01104/0.01105, allocations: 107.5 kB / 15.06 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.001166/0.001165, allocations: 169 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.704/1.704, allocations: 170.9 MB / 187.5 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.303/0.303, allocations: 38.08 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004582/0.0004584, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08986/0.09036, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002253/0.09267, allocations: 1.287 MB / 373.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.09374, allocations: 423.4 kB / 374 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.015e-05/0.09381, allocations: 0 / 374 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000261/0.09409, allocations: 27.84 kB / 374 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.09428, allocations: 27.91 kB / 374 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.09455, allocations: 63.8 kB / 374.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.09471, allocations: 47.88 kB / 374.2 MB, free: 10.97 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.036e-05/0.09482, allocations: 7.984 kB / 374.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.071e-05/0.09491, allocations: 27.91 kB / 374.2 MB, free: 10.94 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.55e-05/0.09499, allocations: 19.92 kB / 374.2 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.09502, allocations: 0 / 374.2 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.09516, allocations: 35.88 kB / 374.2 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.214e-05/0.09521, allocations: 15.97 kB / 374.3 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.78e-05/0.09527, allocations: 37.64 kB / 374.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.09548, allocations: 72.12 kB / 374.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.09549, allocations: 0 / 374.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.0955, allocations: 0 / 374.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.09552, allocations: 0 / 374.4 MB, free: 10.75 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.0005465/0.09607, allocations: 404.7 kB / 374.8 MB, free: 10.3 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.09613, allocations: 16.03 kB / 374.8 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.129e-05/0.09618, allocations: 30.56 kB / 374.8 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.09623, allocations: 11.91 kB / 374.8 MB, free: 10.24 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.09648, allocations: 186.4 kB / 375 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.0965, allocations: 0 / 375 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.09654, allocations: 7.938 kB / 375 MB, free: 10.01 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.09669, allocations: 45.62 kB / 375.1 MB, free: 9.961 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.09672, allocations: 3.984 kB / 375.1 MB, free: 9.957 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.09674, allocations: 0 / 375.1 MB, free: 9.957 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.09675, allocations: 4 kB / 375.1 MB, free: 9.953 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.175e-05/0.09683, allocations: 12 kB / 375.1 MB, free: 9.941 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.09728, allocations: 284.8 kB / 375.4 MB, free: 9.613 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.09753, allocations: 38.61 kB / 375.4 MB, free: 9.566 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.09758, allocations: 3.984 kB / 375.4 MB, free: 9.562 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.09776, allocations: 63.41 kB / 375.5 MB, free: 9.488 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.195e-06/0.09778, allocations: 4 kB / 375.5 MB, free: 9.484 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004734/0.09826, allocations: 109.4 kB / 375.6 MB, free: 9.371 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.09832, allocations: 55.39 kB / 375.6 MB, free: 9.305 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.0985, allocations: 139.6 kB / 375.8 MB, free: 9.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.09854, allocations: 33.7 kB / 375.8 MB, free: 9.121 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/0.09862, allocations: 92.03 kB / 375.9 MB, free: 9.027 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.09865, allocations: 11.91 kB / 375.9 MB, free: 9.016 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-06/0.09867, allocations: 0 / 375.9 MB, free: 9.016 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.09881, allocations: 330.8 kB / 376.2 MB, free: 8.684 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.052e-05/0.09888, allocations: 12 kB / 376.2 MB, free: 8.672 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.045e-05/0.09895, allocations: 23.98 kB / 376.3 MB, free: 8.648 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.989e-05/0.09905, allocations: 45.7 kB / 376.3 MB, free: 8.598 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.09906, allocations: 0 / 376.3 MB, free: 8.598 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002585/0.09933, allocations: 115.2 kB / 376.4 MB, free: 8.473 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.906e-05/0.09939, allocations: 44.19 kB / 376.5 MB, free: 8.426 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.09941, allocations: 0 / 376.5 MB, free: 8.426 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.09943, allocations: 3.938 kB / 376.5 MB, free: 8.422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.042e-05/0.09952, allocations: 12 kB / 376.5 MB, free: 8.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.09954, allocations: 96 / 376.5 MB, free: 8.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.245e-05/0.09963, allocations: 7.938 kB / 376.5 MB, free: 8.402 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.09965, allocations: 4 kB / 376.5 MB, free: 8.398 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.0001245/0.09979, allocations: 131 kB / 376.6 MB, free: 8.262 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.09982, allocations: 7.906 kB / 376.6 MB, free: 8.254 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.679e-05/0.09989, allocations: 16.3 kB / 376.6 MB, free: 8.234 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.0999, allocations: 0 / 376.6 MB, free: 8.234 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.09991, allocations: 0 / 376.6 MB, free: 8.234 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.09993, allocations: 4 kB / 376.6 MB, free: 8.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004459/0.1004, allocations: 338.4 kB / 377 MB, free: 7.844 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1004, allocations: 0 / 377 MB, free: 7.844 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.037e-05/0.1005, allocations: 11.92 kB / 377 MB, free: 7.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1005, allocations: 0 / 377 MB, free: 7.832 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.1005, allocations: 4 kB / 377 MB, free: 7.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.1005, allocations: 160 / 377 MB, free: 7.828 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1005, allocations: 0 / 377 MB, free: 7.828 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.1007, allocations: 167.5 kB / 377.1 MB, free: 7.648 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.1008, allocations: 89 kB / 377.2 MB, free: 7.543 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.1008, allocations: 4.188 kB / 377.2 MB, free: 7.539 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.022e-05/0.1009, allocations: 4 kB / 377.2 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.101, allocations: 4 kB / 377.2 MB, free: 7.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.101, allocations: 0 / 377.2 MB, free: 7.531 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001155/0.1011, allocations: 111.2 kB / 377.4 MB, free: 7.422 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1012, allocations: 0 / 377.4 MB, free: 7.422 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003787/0.1015, allocations: 28 kB / 377.4 MB, free: 7.395 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.001386/0.1029, allocations: 0.9611 MB / 378.3 MB, free: 6.512 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002575/0.1032, allocations: 111.4 kB / 378.4 MB, free: 6.391 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1033, allocations: 3.938 kB / 378.5 MB, free: 6.387 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.155e-05/0.1033, allocations: 15.94 kB / 378.5 MB, free: 6.371 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.1037, allocations: 19.97 kB / 378.5 MB, free: 6.352 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008118/0.1045, allocations: 395.2 kB / 378.9 MB, free: 5.918 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.1048, allocations: 0.7004 MB / 379.6 MB, free: 5.191 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.426e-05/0.1049, allocations: 16 kB / 379.6 MB, free: 5.176 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/0.105, allocations: 23.42 kB / 379.6 MB, free: 5.152 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.105, allocations: 0 / 379.6 MB, free: 5.152 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.1323, allocations: 2.403 MB / 382 MB, free: 2.781 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003106/0.1327, allocations: 249.1 kB / 382.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.307/2.44, allocations: 0 / 382.3 MB, free: 2.441 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat does not exist to compare? outputFormat=mat