Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test57",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.01086/0.01086, allocations: 105.4 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.001174/0.001175, allocations: 168.3 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.57/1.57, 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.2457/0.2457, allocations: 38.09 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004598/0.0004598, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09183/0.09231, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002561/0.09493, allocations: 1.29 MB / 373.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.09711, allocations: 0.9959 MB / 374.6 MB, free: 10.54 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.506e-05/0.0972, allocations: 3.938 kB / 374.6 MB, free: 10.54 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.09751, allocations: 19.97 kB / 374.6 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002079/0.09774, allocations: 43.81 kB / 374.7 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.09802, allocations: 55.81 kB / 374.7 MB, free: 10.42 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.09819, allocations: 47.88 kB / 374.8 MB, free: 10.38 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.09831, allocations: 11.98 kB / 374.8 MB, free: 10.36 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.928e-05/0.09841, allocations: 27.91 kB / 374.8 MB, free: 10.34 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.09861, allocations: 27.86 kB / 374.8 MB, free: 10.31 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.09864, allocations: 0 / 374.8 MB, free: 10.31 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.09884, allocations: 51.91 kB / 374.9 MB, free: 10.26 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.873e-05/0.09889, allocations: 7.984 kB / 374.9 MB, free: 10.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.252e-05/0.09896, allocations: 37.64 kB / 374.9 MB, free: 10.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.09924, allocations: 88.09 kB / 375 MB, free: 10.12 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.09926, allocations: 4 kB / 375 MB, free: 10.12 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.09927, allocations: 4 kB / 375 MB, free: 10.11 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.09929, allocations: 0 / 375 MB, free: 10.11 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.0006606/0.09996, allocations: 408.8 kB / 375.4 MB, free: 9.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.1, allocations: 8.031 kB / 375.4 MB, free: 9.652 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.669e-05/0.1001, allocations: 30.56 kB / 375.4 MB, free: 9.613 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.1001, allocations: 4 kB / 375.4 MB, free: 9.609 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.1004, allocations: 194.8 kB / 375.6 MB, free: 9.379 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.1005, allocations: 3.938 kB / 375.6 MB, free: 9.375 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.1005, allocations: 12 kB / 375.7 MB, free: 9.363 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.1007, allocations: 55.39 kB / 375.7 MB, free: 9.297 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1007, allocations: 0 / 375.7 MB, free: 9.297 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1008, allocations: 0 / 375.7 MB, free: 9.297 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.1008, allocations: 4 kB / 375.7 MB, free: 9.293 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.112e-05/0.1009, allocations: 11.98 kB / 375.7 MB, free: 9.281 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004984/0.1014, allocations: 280.9 kB / 376 MB, free: 8.957 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.1016, allocations: 46.52 kB / 376 MB, free: 8.902 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.1017, allocations: 4.078 kB / 376 MB, free: 8.898 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.1019, allocations: 59.41 kB / 376.1 MB, free: 8.828 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.084e-06/0.1019, allocations: 0 / 376.1 MB, free: 8.828 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005046/0.1024, allocations: 105.4 kB / 376.2 MB, free: 8.719 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.1025, allocations: 81.09 kB / 376.3 MB, free: 8.621 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.1027, allocations: 141.7 kB / 376.4 MB, free: 8.473 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.1028, allocations: 33.7 kB / 376.5 MB, free: 8.434 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.778e-05/0.1028, allocations: 92.12 kB / 376.6 MB, free: 8.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.1029, allocations: 11.75 kB / 376.6 MB, free: 8.328 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/0.1029, allocations: 4 kB / 376.6 MB, free: 8.324 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1031, allocations: 322.8 kB / 376.9 MB, free: 8 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.518e-05/0.1032, allocations: 19.98 kB / 376.9 MB, free: 7.98 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.008e-05/0.1033, allocations: 41.66 kB / 376.9 MB, free: 7.934 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.1034, allocations: 49.69 kB / 377 MB, free: 7.879 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1034, allocations: 0 / 377 MB, free: 7.879 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002928/0.1037, allocations: 123.2 kB / 377.1 MB, free: 7.746 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/0.1038, allocations: 33.64 kB / 377.1 MB, free: 7.707 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1038, allocations: 0 / 377.1 MB, free: 7.707 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.1038, allocations: 7.984 kB / 377.2 MB, free: 7.699 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.64e-05/0.1039, allocations: 4 kB / 377.2 MB, free: 7.695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1039, allocations: 4 kB / 377.2 MB, free: 7.691 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.852e-05/0.104, allocations: 0 / 377.2 MB, free: 7.691 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.104, allocations: 12.09 kB / 377.2 MB, free: 7.68 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.0001326/0.1042, allocations: 122.8 kB / 377.3 MB, free: 7.551 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.1042, allocations: 8 kB / 377.3 MB, free: 7.543 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.359e-05/0.1043, allocations: 7.969 kB / 377.3 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1043, allocations: 0 / 377.3 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1043, allocations: 0 / 377.3 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1043, allocations: 0 / 377.3 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004953/0.1048, allocations: 346.4 kB / 377.6 MB, free: 7.141 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1049, allocations: 4 kB / 377.6 MB, free: 7.137 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.676e-05/0.1049, allocations: 4 kB / 377.7 MB, free: 7.133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1049, allocations: 0 / 377.7 MB, free: 7.133 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.1049, allocations: 4.094 kB / 377.7 MB, free: 7.129 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.105, allocations: 3.938 kB / 377.7 MB, free: 7.125 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.105, allocations: 0 / 377.7 MB, free: 7.125 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.1052, allocations: 171.4 kB / 377.8 MB, free: 6.941 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-05/0.1053, allocations: 81.02 kB / 377.9 MB, free: 6.844 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.1053, allocations: 12 kB / 377.9 MB, free: 6.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.1055, allocations: 0 / 377.9 MB, free: 6.832 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.1055, allocations: 7.984 kB / 377.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.1056, allocations: 0 / 377.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001282/0.1057, allocations: 103.3 kB / 378 MB, free: 6.723 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1057, allocations: 0 / 378 MB, free: 6.723 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004923/0.1062, allocations: 43.92 kB / 378.1 MB, free: 6.68 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.001998/0.1082, allocations: 1.057 MB / 379.1 MB, free: 5.719 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000281/0.1086, allocations: 103.3 kB / 379.2 MB, free: 5.605 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1086, allocations: 4 kB / 379.2 MB, free: 5.602 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.657e-05/0.1087, allocations: 15.98 kB / 379.2 MB, free: 5.586 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.109, allocations: 15.98 kB / 379.3 MB, free: 5.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009376/0.11, allocations: 390.5 kB / 379.6 MB, free: 5.137 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.1103, allocations: 0.7004 MB / 380.3 MB, free: 4.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.558e-05/0.1104, allocations: 15.94 kB / 380.4 MB, free: 4.395 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.51e-05/0.1105, allocations: 19.42 kB / 380.4 MB, free: 4.375 MB / 282.7 MB Notification: Performance of SimCode: time 1.182e-06/0.1105, allocations: 4 kB / 380.4 MB, free: 4.371 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03139/0.1419, allocations: 2.759 MB / 383.1 MB, free: 1.637 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003891/0.1424, allocations: 254.8 kB / 383.4 MB, free: 1.293 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/2.556, allocations: 0 / 383.4 MB, free: 1.293 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat does not exist to compare? outputFormat=mat