Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.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.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_IntegerTable",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.01063/0.01063, allocations: 106 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.001221/0.001221, allocations: 166.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.643/1.643, allocations: 170.9 MB / 187.5 MB, free: 0.8594 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.2984/0.2984, allocations: 38.09 MB / 265.1 MB, free: 3.945 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006353/0.0006356, allocations: 8 kB / 323.6 MB, free: 29.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1044, allocations: 48.72 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002499/0.1069, allocations: 1.105 MB / 373.4 MB, free: 11.74 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1086, allocations: 0.4948 MB / 373.9 MB, free: 11.24 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.554e-05/0.1087, allocations: 0 / 373.9 MB, free: 11.24 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002023/0.1089, allocations: 47.92 kB / 373.9 MB, free: 11.2 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.1091, allocations: 55.84 kB / 374 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002061/0.1111, allocations: 375.2 kB / 374.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.1113, allocations: 71.91 kB / 374.4 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.686e-05/0.1114, allocations: 7.984 kB / 374.4 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.1116, allocations: 55.86 kB / 374.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.1118, allocations: 87.75 kB / 374.6 MB, free: 10.55 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.1119, allocations: 12 kB / 374.6 MB, free: 10.54 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000587/0.1125, allocations: 195.8 kB / 374.8 MB, free: 10.35 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.136e-05/0.1126, allocations: 31.91 kB / 374.8 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.249e-05/0.1127, allocations: 41.64 kB / 374.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004603/0.1132, allocations: 191.9 kB / 375 MB, free: 10.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1132, allocations: 0 / 375 MB, free: 10.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.668e-06/0.1132, allocations: 0 / 375 MB, free: 10.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1132, allocations: 3.938 kB / 375 MB, free: 10.08 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001184/0.1144, allocations: 0.5445 MB / 375.6 MB, free: 9.465 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.1145, allocations: 8.031 kB / 375.6 MB, free: 9.457 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.761e-05/0.1146, allocations: 38.55 kB / 375.6 MB, free: 9.41 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.367e-05/0.1146, allocations: 15.91 kB / 375.6 MB, free: 9.395 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.1149, allocations: 190.8 kB / 375.8 MB, free: 9.168 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.1149, allocations: 4 kB / 375.8 MB, free: 9.164 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/0.115, allocations: 4 kB / 375.8 MB, free: 9.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000637/0.1156, allocations: 173 kB / 376 MB, free: 8.973 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.1157, allocations: 7.922 kB / 376 MB, free: 8.965 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.1157, allocations: 0 / 376 MB, free: 8.965 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.1157, allocations: 4 kB / 376 MB, free: 8.961 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003815/0.1161, allocations: 67.95 kB / 376.1 MB, free: 8.895 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.1166, allocations: 256.1 kB / 376.3 MB, free: 8.586 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006934/0.1173, allocations: 190.4 kB / 376.5 MB, free: 8.363 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.1173, allocations: 4 kB / 376.5 MB, free: 8.359 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006919/0.118, allocations: 210.1 kB / 376.7 MB, free: 8.133 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 2.775e-06/0.118, allocations: 0 / 376.7 MB, free: 8.133 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.001655/0.1197, allocations: 389.2 kB / 377.1 MB, free: 7.746 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.1198, allocations: 144.5 kB / 377.3 MB, free: 7.574 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.1202, allocations: 174.2 kB / 377.4 MB, free: 7.395 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.265e-05/0.1202, allocations: 41.64 kB / 377.5 MB, free: 7.348 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.1204, allocations: 104.1 kB / 377.6 MB, free: 7.242 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.024e-05/0.1204, allocations: 39.53 kB / 377.6 MB, free: 7.203 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.033e-05/0.1205, allocations: 8 kB / 377.6 MB, free: 7.195 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.1207, allocations: 326.8 kB / 377.9 MB, free: 6.867 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.1209, allocations: 60.2 kB / 378 MB, free: 6.809 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.1212, allocations: 95.83 kB / 378.1 MB, free: 6.703 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.1215, allocations: 186.7 kB / 378.3 MB, free: 6.496 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1215, allocations: 0 / 378.3 MB, free: 6.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008595/0.1224, allocations: 368.2 kB / 378.6 MB, free: 6.105 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001384/0.1226, allocations: 122.8 kB / 378.7 MB, free: 5.961 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.1226, allocations: 4 kB / 378.7 MB, free: 5.957 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1226, allocations: 0 / 378.7 MB, free: 5.957 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.053e-05/0.1227, allocations: 11.94 kB / 378.8 MB, free: 5.945 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1227, allocations: 0 / 378.8 MB, free: 5.945 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.1229, allocations: 19.89 kB / 378.8 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/0.1229, allocations: 16 kB / 378.8 MB, free: 5.91 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition4,$PRE.integerTable4.y,integerTable4.y,$PRE.integerTable4.nextTime,integerTable4.nextTime,$PRE.integerTable4.index,integerTable4.index,$whenCondition3,$PRE.integerTable3.y,integerTable3.y,$PRE.integerTable3.nextTime,integerTable3.nextTime,$PRE.integerTable3.index,integerTable3.index,$whenCondition2,$PRE.integerTable2.y,integerTable2.y,$PRE.integerTable2.nextTime,integerTable2.nextTime,$PRE.integerTable2.index,integerTable2.index,$whenCondition1,$PRE.integerTable.y,integerTable.y,$PRE.integerTable.nextTime,integerTable.nextTime,$PRE.integerTable.index,integerTable.index) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0002397/0.1232, allocations: 158.1 kB / 378.9 MB, free: 5.746 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.264e-05/0.1233, allocations: 11.81 kB / 379 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.72e-05/0.1233, allocations: 20.23 kB / 379 MB, free: 5.707 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.1234, allocations: 4 kB / 379 MB, free: 5.703 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.1234, allocations: 256 / 379 MB, free: 5.703 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1234, allocations: 0 / 379 MB, free: 5.703 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003949/0.1238, allocations: 229.5 kB / 379.2 MB, free: 5.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.1238, allocations: 11.94 kB / 379.2 MB, free: 5.418 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.282e-05/0.1239, allocations: 0 / 379.2 MB, free: 5.418 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1239, allocations: 0 / 379.2 MB, free: 5.418 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-05/0.1239, allocations: 11.98 kB / 379.2 MB, free: 5.406 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.124, allocations: 4 kB / 379.2 MB, free: 5.402 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.124, allocations: 0 / 379.2 MB, free: 5.402 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.1252, allocations: 392.4 kB / 379.6 MB, free: 4.973 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.254e-05/0.1253, allocations: 88.92 kB / 379.7 MB, free: 4.867 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.541e-05/0.1254, allocations: 7.984 kB / 379.7 MB, free: 4.859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.1257, allocations: 15.98 kB / 379.7 MB, free: 4.844 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-05/0.1258, allocations: 15.94 kB / 379.7 MB, free: 4.828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.1259, allocations: 43.83 kB / 379.8 MB, free: 4.785 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002175/0.1261, allocations: 140 kB / 379.9 MB, free: 4.648 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1261, allocations: 0 / 379.9 MB, free: 4.648 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007936/0.127, allocations: 80 kB / 380 MB, free: 4.57 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable4.y,integerTable4.nextTime,integerTable4.index,$whenCondition3,integerTable3.y,integerTable3.nextTime,integerTable3.index,$whenCondition2,integerTable2.y,integerTable2.nextTime,integerTable2.index,$whenCondition1,integerTable.y,integerTable.nextTime,integerTable.index) * Number of discrete states: 8 (integerTable.index,integerTable.nextTime,integerTable2.index,integerTable2.nextTime,integerTable3.index,integerTable3.nextTime,integerTable4.index,integerTable4.nextTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.002298/0.1293, allocations: 1.219 MB / 381.2 MB, free: 3.305 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009576/0.1303, allocations: 429.4 kB / 381.6 MB, free: 2.836 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1303, allocations: 0 / 381.6 MB, free: 2.836 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004404/0.1307, allocations: 104 kB / 381.7 MB, free: 2.734 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.131, allocations: 11.98 kB / 381.8 MB, free: 2.723 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/0.1342, allocations: 1.558 MB / 383.3 MB, free: 1.094 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.1346, allocations: 0.7278 MB / 384 MB, free: 348 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.762e-05/0.1347, allocations: 8.875 kB / 384 MB, free: 336 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.503e-05/0.1348, allocations: 31.42 kB / 384.1 MB, free: 304 kB / 282.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1348, allocations: 0 / 384.1 MB, free: 304 kB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02887/0.1637, allocations: 3.954 MB / 388 MB, free: 12.42 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003235/0.164, allocations: 178.4 kB / 388.2 MB, free: 12.17 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.583/2.747, allocations: 0 / 388.2 MB, free: 12.17 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable_res.mat does not exist to compare? outputFormat=mat