Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test14",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.01134/0.01134, allocations: 105.3 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.001141/0.001141, allocations: 172.8 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.677/1.677, allocations: 170.9 MB / 187.5 MB, free: 0.9961 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.3674/0.3674, allocations: 38.09 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004867/0.0004869, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09366/0.0942, allocations: 48.72 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00279/0.09703, allocations: 1.522 MB / 373.8 MB, free: 11.31 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.09894, allocations: 0.8271 MB / 374.7 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.0991, allocations: 3.938 kB / 374.7 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.09937, allocations: 27.89 kB / 374.7 MB, free: 10.45 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.09964, allocations: 43.88 kB / 374.7 MB, free: 10.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.1, allocations: 79.77 kB / 374.8 MB, free: 10.33 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.1003, allocations: 111.7 kB / 374.9 MB, free: 10.22 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.1004, allocations: 21.09 kB / 374.9 MB, free: 10.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.1006, allocations: 63.75 kB / 375 MB, free: 10.14 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.1007, allocations: 51.77 kB / 375 MB, free: 10.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.1007, allocations: 4 kB / 375 MB, free: 10.08 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.1009, allocations: 39.92 kB / 375.1 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.967e-05/0.101, allocations: 23.91 kB / 375.1 MB, free: 10.02 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.384e-05/0.1011, allocations: 53.62 kB / 375.2 MB, free: 9.961 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.1014, allocations: 128 kB / 375.3 MB, free: 9.836 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1014, allocations: 0 / 375.3 MB, free: 9.836 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1014, allocations: 0 / 375.3 MB, free: 9.836 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1014, allocations: 0 / 375.3 MB, free: 9.836 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0012/0.1026, allocations: 0.5427 MB / 375.8 MB, free: 9.227 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.1027, allocations: 8.031 kB / 375.8 MB, free: 9.219 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.646e-05/0.1027, allocations: 38.55 kB / 375.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.184e-05/0.1028, allocations: 15.81 kB / 375.9 MB, free: 9.156 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.1032, allocations: 223.6 kB / 376.1 MB, free: 8.895 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.1032, allocations: 4 kB / 376.1 MB, free: 8.891 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.575e-05/0.1033, allocations: 12 kB / 376.1 MB, free: 8.879 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005908/0.1039, allocations: 121.6 kB / 376.2 MB, free: 8.754 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1039, allocations: 0 / 376.2 MB, free: 8.754 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.1039, allocations: 4 kB / 376.2 MB, free: 8.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1039, allocations: 0 / 376.2 MB, free: 8.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007801/0.1047, allocations: 127.9 kB / 376.4 MB, free: 8.625 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007599/0.1055, allocations: 384.4 kB / 376.7 MB, free: 8.199 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.1066, allocations: 162.6 kB / 376.9 MB, free: 8.031 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.531e-05/0.1067, allocations: 15.92 kB / 376.9 MB, free: 8.016 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000645/0.1073, allocations: 127.3 kB / 377 MB, free: 7.879 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 3.426e-06/0.1073, allocations: 0 / 377 MB, free: 7.879 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.001523/0.1089, allocations: 265.3 kB / 377.3 MB, free: 7.613 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/0.109, allocations: 55.36 kB / 377.4 MB, free: 7.547 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/0.1093, allocations: 199.9 kB / 377.6 MB, free: 7.344 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.732e-05/0.1094, allocations: 33.7 kB / 377.6 MB, free: 7.305 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.1095, allocations: 116.1 kB / 377.7 MB, free: 7.188 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.843e-05/0.1095, allocations: 35.69 kB / 377.7 MB, free: 7.152 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.856e-05/0.1096, allocations: 4 kB / 377.7 MB, free: 7.148 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1097, allocations: 322.8 kB / 378.1 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004674/0.1102, allocations: 83.94 kB / 378.1 MB, free: 6.742 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004655/0.1107, allocations: 93.59 kB / 378.2 MB, free: 6.645 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004901/0.1112, allocations: 135.3 kB / 378.4 MB, free: 6.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1112, allocations: 0 / 378.4 MB, free: 6.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001127/0.1123, allocations: 284.7 kB / 378.6 MB, free: 6.203 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.664e-05/0.1124, allocations: 65.75 kB / 378.7 MB, free: 6.129 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.1125, allocations: 0 / 378.7 MB, free: 6.129 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.1125, allocations: 11.95 kB / 378.7 MB, free: 6.117 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.1128, allocations: 27.98 kB / 378.7 MB, free: 6.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.1128, allocations: 7.953 kB / 378.8 MB, free: 6.082 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003147/0.1131, allocations: 27.88 kB / 378.8 MB, free: 6.055 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.1132, allocations: 16 kB / 378.8 MB, free: 6.039 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: 8 ($whenCondition2,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$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 (14): * Single equations (assignments): 12 * 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.0001756/0.1134, allocations: 134.8 kB / 378.9 MB, free: 5.898 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.1134, allocations: 15.81 kB / 378.9 MB, free: 5.883 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.695e-05/0.1135, allocations: 17.39 kB / 379 MB, free: 5.867 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1135, allocations: 0 / 379 MB, free: 5.867 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.1135, allocations: 4 kB / 379 MB, free: 5.863 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.1135, allocations: 7.891 kB / 379 MB, free: 5.855 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.1138, allocations: 213.6 kB / 379.2 MB, free: 5.598 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1138, allocations: 0 / 379.2 MB, free: 5.598 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.1141, allocations: 31.97 kB / 379.2 MB, free: 5.566 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.1141, allocations: 4 kB / 379.2 MB, free: 5.562 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.1142, allocations: 0 / 379.2 MB, free: 5.562 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.1142, allocations: 0 / 379.2 MB, free: 5.562 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1142, allocations: 0 / 379.2 MB, free: 5.562 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.1156, allocations: 317 kB / 379.5 MB, free: 5.234 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.74e-05/0.1157, allocations: 92.94 kB / 379.6 MB, free: 5.125 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/0.1158, allocations: 4 kB / 379.6 MB, free: 5.121 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000296/0.1161, allocations: 32.03 kB / 379.6 MB, free: 5.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.731e-05/0.1162, allocations: 15.98 kB / 379.7 MB, free: 5.074 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.1163, allocations: 7.922 kB / 379.7 MB, free: 5.066 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001907/0.1165, allocations: 152.3 kB / 379.8 MB, free: 4.918 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1165, allocations: 0 / 379.8 MB, free: 4.918 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003532/0.1168, allocations: 40.06 kB / 379.9 MB, free: 4.879 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent) * Number of discrete states: 2 (trapezoid1.count,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.002528/0.1194, allocations: 1.073 MB / 380.9 MB, free: 3.875 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.1205, allocations: 290.6 kB / 381.2 MB, free: 3.566 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.1205, allocations: 0 / 381.2 MB, free: 3.566 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004521/0.121, allocations: 71.94 kB / 381.3 MB, free: 3.496 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.1214, allocations: 39.73 kB / 381.3 MB, free: 3.461 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.1229, allocations: 0.7043 MB / 382 MB, free: 2.699 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.1233, allocations: 0.7162 MB / 382.7 MB, free: 1.957 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001635/0.1235, allocations: 24.58 kB / 382.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.1236, allocations: 39.42 kB / 382.8 MB, free: 1.895 MB / 282.7 MB Notification: Performance of SimCode: time 1.492e-06/0.1236, allocations: 192 / 382.8 MB, free: 1.895 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03604/0.1597, allocations: 3.785 MB / 386.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004287/0.1602, allocations: 250.2 kB / 386.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.543/2.703, allocations: 0 / 386.8 MB, free: 13.8 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat does not exist to compare? outputFormat=mat