Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test68",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.01144/0.01144, allocations: 107.2 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.001157/0.001157, allocations: 168.4 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.6/1.6, 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.2725/0.2725, allocations: 38.1 MB / 265.1 MB, free: 3.957 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004728/0.000473, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09059/0.0911, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002413/0.09356, allocations: 1.341 MB / 373.6 MB, free: 11.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.09524, allocations: 0.6629 MB / 374.3 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.17e-05/0.09536, allocations: 3.938 kB / 374.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006416/0.09602, allocations: 271.5 kB / 374.6 MB, free: 10.56 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003946/0.09643, allocations: 171.6 kB / 374.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004499/0.09689, allocations: 103.7 kB / 374.8 MB, free: 10.29 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.0972, allocations: 139.7 kB / 375 MB, free: 10.15 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.012e-05/0.09729, allocations: 9.109 kB / 375 MB, free: 10.14 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.09746, allocations: 91.75 kB / 375.1 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.09774, allocations: 131.7 kB / 375.2 MB, free: 9.926 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.09779, allocations: 4 kB / 375.2 MB, free: 9.922 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002367/0.09803, allocations: 59.91 kB / 375.3 MB, free: 9.863 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.09822, allocations: 123.6 kB / 375.4 MB, free: 9.742 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.306e-05/0.09832, allocations: 69.52 kB / 375.5 MB, free: 9.668 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005149/0.09885, allocations: 287.8 kB / 375.7 MB, free: 9.387 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.09887, allocations: 0 / 375.7 MB, free: 9.387 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.09888, allocations: 0 / 375.7 MB, free: 9.387 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.0989, allocations: 4 kB / 375.7 MB, free: 9.383 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.001156/0.1001, allocations: 0.7035 MB / 376.4 MB, free: 8.617 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.1001, allocations: 12.03 kB / 376.5 MB, free: 8.605 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.341e-05/0.1002, allocations: 34.5 kB / 376.5 MB, free: 8.562 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.021e-05/0.1003, allocations: 43.44 kB / 376.5 MB, free: 8.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007618/0.1011, allocations: 399.2 kB / 376.9 MB, free: 8.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.1011, allocations: 4 kB / 376.9 MB, free: 8.086 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.1011, allocations: 4 kB / 376.9 MB, free: 8.082 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.1013, allocations: 59.39 kB / 377 MB, free: 8.012 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1013, allocations: 8 kB / 377 MB, free: 8.004 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1014, allocations: 0 / 377 MB, free: 8.004 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1014, allocations: 0 / 377 MB, free: 8.004 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.513e-05/0.1015, allocations: 19.92 kB / 377 MB, free: 7.984 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.102, allocations: 354.4 kB / 377.4 MB, free: 7.586 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.1022, allocations: 73.08 kB / 377.4 MB, free: 7.496 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.1022, allocations: 0 / 377.4 MB, free: 7.496 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002426/0.1024, allocations: 93.06 kB / 377.5 MB, free: 7.387 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.773e-06/0.1025, allocations: 0 / 377.5 MB, free: 7.387 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004367/0.1029, allocations: 133.1 kB / 377.7 MB, free: 7.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.103, allocations: 81.11 kB / 377.7 MB, free: 7.152 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/0.1047, allocations: 0.983 MB / 378.7 MB, free: 6.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.621e-05/0.1048, allocations: 33.7 kB / 378.7 MB, free: 6.121 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.105, allocations: 220.1 kB / 379 MB, free: 5.902 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.322e-05/0.1051, allocations: 19.8 kB / 379 MB, free: 5.883 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/0.1051, allocations: 0 / 379 MB, free: 5.883 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.1053, allocations: 362.8 kB / 379.3 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.1055, allocations: 31.94 kB / 379.4 MB, free: 5.488 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.1056, allocations: 41.69 kB / 379.4 MB, free: 5.441 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.1057, allocations: 91.41 kB / 379.5 MB, free: 5.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1058, allocations: 96 / 379.5 MB, free: 5.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00047/0.1062, allocations: 224.3 kB / 379.7 MB, free: 5.102 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.234e-05/0.1063, allocations: 68.95 kB / 379.8 MB, free: 5.023 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.1063, allocations: 0 / 379.8 MB, free: 5.023 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1064, allocations: 3.938 kB / 379.8 MB, free: 5.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.1065, allocations: 15.98 kB / 379.8 MB, free: 5.004 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1065, allocations: 0 / 379.8 MB, free: 5.004 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.1067, allocations: 11.84 kB / 379.8 MB, free: 4.992 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.1067, allocations: 8 kB / 379.8 MB, free: 4.984 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0003235/0.1071, allocations: 219.7 kB / 380 MB, free: 4.762 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.822e-05/0.1071, allocations: 43.39 kB / 380.1 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.1073, allocations: 55.48 kB / 380.1 MB, free: 4.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1073, allocations: 4 kB / 380.1 MB, free: 4.656 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1073, allocations: 0 / 380.1 MB, free: 4.656 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1073, allocations: 0 / 380.1 MB, free: 4.656 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003997/0.1077, allocations: 309.5 kB / 380.4 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1077, allocations: 0 / 380.4 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.15e-05/0.1078, allocations: 15.92 kB / 380.5 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.1078, allocations: 3.953 kB / 380.5 MB, free: 4.285 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.1078, allocations: 8 kB / 380.5 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1078, allocations: 0 / 380.5 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1079, allocations: 0 / 380.5 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000367/0.1082, allocations: 159.1 kB / 380.6 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.1084, allocations: 136.5 kB / 380.8 MB, free: 3.941 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.081e-05/0.1085, allocations: 8 kB / 380.8 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.1087, allocations: 7.984 kB / 380.8 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.1087, allocations: 4 kB / 380.8 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.1087, allocations: 7.938 kB / 380.8 MB, free: 3.914 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001204/0.11, allocations: 0.7292 MB / 381.5 MB, free: 3.188 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.11, allocations: 0 / 381.5 MB, free: 3.188 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004435/0.1104, allocations: 51.94 kB / 381.6 MB, free: 3.137 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001955/0.1124, allocations: 1.153 MB / 382.7 MB, free: 2.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000394/0.1128, allocations: 198.7 kB / 382.9 MB, free: 1.852 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1129, allocations: 0 / 382.9 MB, free: 1.852 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.186e-05/0.1129, allocations: 19.94 kB / 382.9 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.1134, allocations: 46.19 kB / 383 MB, free: 1.785 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.1159, allocations: 1.43 MB / 384.4 MB, free: 296 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006133/0.1166, allocations: 0.8351 MB / 385.2 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000184/0.1168, allocations: 54.22 kB / 385.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/0.1171, allocations: 123.4 kB / 385.4 MB, free: 15.26 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1171, allocations: 0 / 385.4 MB, free: 15.26 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03885/0.1559, allocations: 7.284 MB / 392.7 MB, free: 7.984 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004136/0.1564, allocations: 250.2 kB / 392.9 MB, free: 7.648 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.514/2.671, allocations: 0 / 392.9 MB, free: 7.648 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat does not exist to compare? outputFormat=mat