Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test12",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.01504/0.01504, allocations: 103.3 kB / 15.06 MB, free: 6.027 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.001707/0.001707, allocations: 175.8 kB / 15.94 MB, free: 5.961 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.798/1.798, 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.2711/0.2711, allocations: 38.09 MB / 265.1 MB, free: 3.957 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000483/0.000483, allocations: 12 kB / 323.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1071, allocations: 48.71 MB / 372.3 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003343/0.1105, allocations: 1.452 MB / 373.7 MB, free: 11.37 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.112, allocations: 447.2 kB / 374.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.1122, allocations: 0 / 374.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.1125, allocations: 19.92 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.1127, allocations: 39.83 kB / 374.2 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.1131, allocations: 71.78 kB / 374.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.1134, allocations: 67.86 kB / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.1135, allocations: 21.38 kB / 374.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.1136, allocations: 35.84 kB / 374.4 MB, free: 10.67 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.574e-05/0.1138, allocations: 27.84 kB / 374.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.1138, allocations: 8 kB / 374.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.114, allocations: 31.94 kB / 374.5 MB, free: 10.61 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.912e-05/0.1141, allocations: 19.97 kB / 374.5 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.579e-05/0.1141, allocations: 37.64 kB / 374.6 MB, free: 10.54 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.1144, allocations: 96.02 kB / 374.7 MB, free: 10.45 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1145, allocations: 4 kB / 374.7 MB, free: 10.45 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1145, allocations: 0 / 374.7 MB, free: 10.45 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1145, allocations: 0 / 374.7 MB, free: 10.45 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008332/0.1153, allocations: 470.3 kB / 375.1 MB, free: 9.926 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.1154, allocations: 12.03 kB / 375.1 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.691e-05/0.1155, allocations: 34.56 kB / 375.2 MB, free: 9.871 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.075e-05/0.1156, allocations: 11.91 kB / 375.2 MB, free: 9.859 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.1159, allocations: 207.4 kB / 375.4 MB, free: 9.617 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.116, allocations: 8 kB / 375.4 MB, free: 9.609 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.779e-05/0.116, allocations: 4 kB / 375.4 MB, free: 9.605 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003185/0.1164, allocations: 77.53 kB / 375.5 MB, free: 9.523 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1164, allocations: 4 kB / 375.5 MB, free: 9.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.1164, allocations: 4 kB / 375.5 MB, free: 9.516 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.1164, allocations: 3.984 kB / 375.5 MB, free: 9.512 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000241/0.1167, allocations: 35.98 kB / 375.5 MB, free: 9.477 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007806/0.1175, allocations: 336.7 kB / 375.8 MB, free: 9.098 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004053/0.1179, allocations: 70.62 kB / 375.9 MB, free: 9.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.118, allocations: 4 kB / 375.9 MB, free: 9.016 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003077/0.1183, allocations: 83.48 kB / 376 MB, free: 8.922 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 3.367e-06/0.1183, allocations: 0 / 376 MB, free: 8.922 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005671/0.1189, allocations: 117.4 kB / 376.1 MB, free: 8.801 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.119, allocations: 51.41 kB / 376.2 MB, free: 8.738 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.1193, allocations: 173.6 kB / 376.3 MB, free: 8.562 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.1193, allocations: 25.7 kB / 376.4 MB, free: 8.531 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.1194, allocations: 108.1 kB / 376.5 MB, free: 8.422 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.776e-05/0.1195, allocations: 23.7 kB / 376.5 MB, free: 8.398 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-06/0.1195, allocations: 0 / 376.5 MB, free: 8.398 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1197, allocations: 322.8 kB / 376.8 MB, free: 8.074 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.1199, allocations: 27.98 kB / 376.8 MB, free: 8.047 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.1201, allocations: 45.81 kB / 376.9 MB, free: 7.996 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.1203, allocations: 65.62 kB / 376.9 MB, free: 7.926 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.034e-06/0.1203, allocations: 0 / 376.9 MB, free: 7.926 MB / 282.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005053/0.1208, allocations: 151.1 kB / 377.1 MB, free: 7.766 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.25e-05/0.1209, allocations: 33.7 kB / 377.1 MB, free: 7.727 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.1209, allocations: 3.984 kB / 377.1 MB, free: 7.723 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.121, allocations: 0 / 377.1 MB, free: 7.723 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.1211, allocations: 19.97 kB / 377.1 MB, free: 7.703 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.1212, allocations: 4 kB / 377.1 MB, free: 7.699 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.1213, allocations: 11.92 kB / 377.2 MB, free: 7.688 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.1213, allocations: 7.953 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: 2 * 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 (10): * Single equations (assignments): 9 * 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.0001665/0.1215, allocations: 126.9 kB / 377.3 MB, free: 7.547 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.1216, allocations: 7.906 kB / 377.3 MB, free: 7.539 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.741e-05/0.1216, allocations: 17.02 kB / 377.3 MB, free: 7.523 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1217, allocations: 0 / 377.3 MB, free: 7.523 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1217, allocations: 4 kB / 377.3 MB, free: 7.52 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1217, allocations: 0 / 377.3 MB, free: 7.52 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.122, allocations: 205.5 kB / 377.5 MB, free: 7.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.122, allocations: 0 / 377.5 MB, free: 7.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.1222, allocations: 12 kB / 377.5 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1222, allocations: 3.938 kB / 377.5 MB, free: 7.254 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.1222, allocations: 0 / 377.5 MB, free: 7.254 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1222, allocations: 3.938 kB / 377.5 MB, free: 7.25 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.1223, allocations: 3.984 kB / 377.5 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005696/0.1228, allocations: 156.9 kB / 377.7 MB, free: 7.074 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-05/0.1229, allocations: 85.05 kB / 377.8 MB, free: 6.973 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.941e-05/0.123, allocations: 4 kB / 377.8 MB, free: 6.969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.1231, allocations: 11.98 kB / 377.8 MB, free: 6.957 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.1232, allocations: 0 / 377.8 MB, free: 6.957 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.1232, allocations: 8.25 kB / 377.8 MB, free: 6.949 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001755/0.1234, allocations: 123.2 kB / 377.9 MB, free: 6.828 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.1234, allocations: 3.938 kB / 377.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005027/0.124, allocations: 31.84 kB / 377.9 MB, free: 6.793 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: 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 (7): * Single equations (assignments): 6 * 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.001986/0.126, allocations: 0.916 MB / 378.9 MB, free: 5.953 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004396/0.1264, allocations: 131.2 kB / 379 MB, free: 5.812 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.1264, allocations: 0 / 379 MB, free: 5.812 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.1266, allocations: 31.97 kB / 379 MB, free: 5.781 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.127, allocations: 24.05 kB / 379 MB, free: 5.758 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.1283, allocations: 0.6436 MB / 379.7 MB, free: 5.062 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.1287, allocations: 0.7004 MB / 380.4 MB, free: 4.336 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.1288, allocations: 16.41 kB / 380.4 MB, free: 4.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.1289, allocations: 39.42 kB / 380.4 MB, free: 4.281 MB / 282.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1289, allocations: 0 / 380.4 MB, free: 4.281 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06227/0.1912, allocations: 2.757 MB / 383.2 MB, free: 1.559 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000382/0.1917, allocations: 246.2 kB / 383.4 MB, free: 1.223 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.459/2.651, allocations: 0 / 383.4 MB, free: 1.223 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat does not exist to compare? outputFormat=mat