Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test7",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.01494/0.01494, allocations: 104.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.001533/0.001533, allocations: 168.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.755/1.755, allocations: 170.9 MB / 187.5 MB, free: 0.9844 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.2507/0.2507, allocations: 38.1 MB / 265.1 MB, free: 3.949 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004497/0.0004498, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.103, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003039/0.1061, allocations: 1.283 MB / 373.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.1075, allocations: 419.4 kB / 374 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.932e-05/0.1076, allocations: 4 kB / 374 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004403/0.1081, allocations: 95.72 kB / 374.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002768/0.1084, allocations: 59.84 kB / 374.1 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.1087, allocations: 63.8 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.1089, allocations: 55.86 kB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.1091, allocations: 19.97 kB / 374.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.1092, allocations: 27.92 kB / 374.3 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.1094, allocations: 43.88 kB / 374.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.1094, allocations: 0 / 374.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.1096, allocations: 35.88 kB / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.174e-05/0.1097, allocations: 19.97 kB / 374.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.979e-05/0.1098, allocations: 37.64 kB / 374.4 MB, free: 10.67 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.1101, allocations: 84.11 kB / 374.5 MB, free: 10.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1101, allocations: 4 kB / 374.5 MB, free: 10.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1101, allocations: 0 / 374.5 MB, free: 10.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1101, allocations: 0 / 374.5 MB, free: 10.59 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.0007396/0.1109, allocations: 424.6 kB / 374.9 MB, free: 10.12 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.53e-05/0.1109, allocations: 12.02 kB / 375 MB, free: 10.11 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.976e-05/0.111, allocations: 38.5 kB / 375 MB, free: 10.06 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.086e-05/0.1111, allocations: 15.81 kB / 375 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.1115, allocations: 198.8 kB / 375.2 MB, free: 9.809 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1115, allocations: 0 / 375.2 MB, free: 9.809 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.662e-05/0.1116, allocations: 8 kB / 375.2 MB, free: 9.801 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.1117, allocations: 45.67 kB / 375.3 MB, free: 9.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.1118, allocations: 0 / 375.3 MB, free: 9.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.1118, allocations: 0 / 375.3 MB, free: 9.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1118, allocations: 3.938 kB / 375.3 MB, free: 9.746 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.554e-05/0.1119, allocations: 15.94 kB / 375.3 MB, free: 9.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005717/0.1125, allocations: 288.8 kB / 375.6 MB, free: 9.398 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.1128, allocations: 42.56 kB / 375.6 MB, free: 9.348 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.1129, allocations: 0 / 375.6 MB, free: 9.348 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.1131, allocations: 63.42 kB / 375.7 MB, free: 9.273 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.084e-06/0.1131, allocations: 0 / 375.7 MB, free: 9.273 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006164/0.1138, allocations: 113.3 kB / 375.8 MB, free: 9.156 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/0.1138, allocations: 55.41 kB / 375.8 MB, free: 9.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000426/0.1143, allocations: 227.5 kB / 376 MB, free: 8.859 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.1143, allocations: 33.7 kB / 376.1 MB, free: 8.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.1145, allocations: 108 kB / 376.2 MB, free: 8.711 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.1145, allocations: 19.75 kB / 376.2 MB, free: 8.691 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.367e-06/0.1146, allocations: 0 / 376.2 MB, free: 8.691 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.1148, allocations: 326.8 kB / 376.5 MB, free: 8.363 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.662e-05/0.1149, allocations: 19.98 kB / 376.5 MB, free: 8.344 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.901e-05/0.115, allocations: 23.97 kB / 376.6 MB, free: 8.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.1151, allocations: 45.7 kB / 376.6 MB, free: 8.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1151, allocations: 0 / 376.6 MB, free: 8.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000386/0.1155, allocations: 127.2 kB / 376.7 MB, free: 8.133 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.889e-05/0.1156, allocations: 29.7 kB / 376.8 MB, free: 8.098 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1156, allocations: 0 / 376.8 MB, free: 8.098 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1157, allocations: 7.984 kB / 376.8 MB, free: 8.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.1158, allocations: 8 kB / 376.8 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1158, allocations: 3.938 kB / 376.8 MB, free: 8.078 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.547e-05/0.1159, allocations: 0 / 376.8 MB, free: 8.078 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.1159, allocations: 4 kB / 376.8 MB, free: 8.074 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.0001828/0.1161, allocations: 134.9 kB / 376.9 MB, free: 7.934 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.1162, allocations: 20.19 kB / 376.9 MB, free: 7.914 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.806e-05/0.1163, allocations: 20.98 kB / 377 MB, free: 7.895 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.1163, allocations: 3.984 kB / 377 MB, free: 7.891 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.1163, allocations: 4 kB / 377 MB, free: 7.887 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1164, allocations: 0 / 377 MB, free: 7.887 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006148/0.117, allocations: 350.4 kB / 377.3 MB, free: 7.488 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.117, allocations: 0 / 377.3 MB, free: 7.488 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.496e-05/0.1171, allocations: 4 kB / 377.3 MB, free: 7.484 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.1171, allocations: 0 / 377.3 MB, free: 7.484 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.1171, allocations: 8 kB / 377.3 MB, free: 7.477 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1171, allocations: 0 / 377.3 MB, free: 7.477 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1171, allocations: 0 / 377.3 MB, free: 7.477 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.1174, allocations: 171.3 kB / 377.5 MB, free: 7.293 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.138e-05/0.1175, allocations: 89 kB / 377.6 MB, free: 7.188 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/0.1176, allocations: 4 kB / 377.6 MB, free: 7.184 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.1178, allocations: 4 kB / 377.6 MB, free: 7.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.1178, allocations: 0 / 377.6 MB, free: 7.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.1179, allocations: 11.98 kB / 377.6 MB, free: 7.168 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002838/0.1182, allocations: 172.2 kB / 377.8 MB, free: 7 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1182, allocations: 0 / 377.8 MB, free: 7 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000588/0.1188, allocations: 27.98 kB / 377.8 MB, free: 6.973 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.001947/0.1207, allocations: 0.9752 MB / 378.8 MB, free: 6.078 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003076/0.1211, allocations: 111.4 kB / 378.9 MB, free: 5.957 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1211, allocations: 0 / 378.9 MB, free: 5.957 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.908e-05/0.1212, allocations: 12 kB / 378.9 MB, free: 5.945 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.1216, allocations: 19.92 kB / 378.9 MB, free: 5.926 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.1233, allocations: 488.7 kB / 379.4 MB, free: 5.391 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004817/0.1238, allocations: 0.716 MB / 380.1 MB, free: 4.648 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.384e-05/0.124, allocations: 16.12 kB / 380.1 MB, free: 4.633 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.1241, allocations: 27.42 kB / 380.1 MB, free: 4.605 MB / 282.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1241, allocations: 0 / 380.1 MB, free: 4.605 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03443/0.1585, allocations: 2.749 MB / 382.9 MB, free: 1.887 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003821/0.159, allocations: 245.1 kB / 383.1 MB, free: 1.551 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.477/2.636, allocations: 4 kB / 383.1 MB, free: 1.547 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat does not exist to compare? outputFormat=mat