Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01121/0.01121, allocations: 107.1 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.2.mo): time 0.001155/0.001155, allocations: 178.7 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.908/1.908, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2619/0.2619, allocations: 40.04 MB / 296.5 MB, free: 6.285 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005068/0.0005069, allocations: 12 kB / 361.1 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1141, allocations: 54.88 MB / 416 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002627/0.1168, allocations: 1.357 MB / 417.4 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.1185, allocations: 0.7267 MB / 418.1 MB, free: 464 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.703e-05/0.1186, allocations: 0 / 418.1 MB, free: 464 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002401/0.1188, allocations: 27.89 kB / 418.1 MB, free: 436 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001966/0.1191, allocations: 43.83 kB / 418.2 MB, free: 392 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.1193, allocations: 55.81 kB / 418.2 MB, free: 336 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.1195, allocations: 63.86 kB / 418.3 MB, free: 272 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.831e-05/0.1196, allocations: 8 kB / 418.3 MB, free: 264 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.1197, allocations: 43.83 kB / 418.3 MB, free: 220 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.452e-05/0.1198, allocations: 23.86 kB / 418.4 MB, free: 196 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.1198, allocations: 4 kB / 418.4 MB, free: 192 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.1199, allocations: 27.98 kB / 418.4 MB, free: 164 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.277e-05/0.12, allocations: 23.91 kB / 418.4 MB, free: 140 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.12, allocations: 53.62 kB / 418.5 MB, free: 80 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.1203, allocations: 100.1 kB / 418.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.1203, allocations: 0 / 418.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1203, allocations: 0 / 418.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1203, allocations: 0 / 418.6 MB, free: 15.98 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000603/0.1209, allocations: 470.1 kB / 419 MB, free: 15.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.121, allocations: 8.031 kB / 419 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.588e-05/0.121, allocations: 34.56 kB / 419.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.1211, allocations: 11.89 kB / 419.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.1214, allocations: 214.7 kB / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1214, allocations: 0 / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.1215, allocations: 7.953 kB / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.1216, allocations: 57.61 kB / 419.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1217, allocations: 0 / 419.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.1217, allocations: 3.984 kB / 419.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1217, allocations: 4 kB / 419.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.1218, allocations: 15.98 kB / 419.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/0.1223, allocations: 316.8 kB / 419.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.1225, allocations: 58.67 kB / 419.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.1225, allocations: 3.938 kB / 419.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.1228, allocations: 63.52 kB / 419.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.1228, allocations: 0 / 419.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007212/0.1235, allocations: 189 kB / 420 MB, free: 14.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.1236, allocations: 51.41 kB / 420 MB, free: 14.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003303/0.1239, allocations: 258.5 kB / 420.3 MB, free: 14.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.124, allocations: 29.7 kB / 420.3 MB, free: 14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.817e-05/0.124, allocations: 112.1 kB / 420.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.1241, allocations: 23.66 kB / 420.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.262e-05/0.1241, allocations: 4 kB / 420.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1243, allocations: 334.8 kB / 420.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.1244, allocations: 35.98 kB / 420.8 MB, free: 13.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.1246, allocations: 45.64 kB / 420.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.1247, allocations: 61.7 kB / 420.9 MB, free: 13.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1247, allocations: 0 / 420.9 MB, free: 13.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003856/0.1251, allocations: 171.1 kB / 421.1 MB, free: 13.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/0.1252, allocations: 33.7 kB / 421.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1252, allocations: 0 / 421.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1252, allocations: 8.031 kB / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1254, allocations: 19.98 kB / 421.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1254, allocations: 0 / 421.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.227e-05/0.1255, allocations: 4 kB / 421.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.1255, allocations: 4.375 kB / 421.2 MB, free: 13.11 MB / 362.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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001655/0.1257, allocations: 141.7 kB / 421.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.1257, allocations: 15.81 kB / 421.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.606e-05/0.1258, allocations: 21.39 kB / 421.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1258, allocations: 4 kB / 421.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1258, allocations: 4 kB / 421.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1258, allocations: 0 / 421.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006197/0.1265, allocations: 407.3 kB / 421.7 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1265, allocations: 0 / 421.7 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.953e-05/0.1265, allocations: 11.98 kB / 421.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.1266, allocations: 0 / 421.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.1266, allocations: 4.031 kB / 421.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.1266, allocations: 11.97 kB / 421.8 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1266, allocations: 0 / 421.8 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.127, allocations: 221.8 kB / 422 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.33e-05/0.1271, allocations: 100.9 kB / 422.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.1271, allocations: 3.984 kB / 422.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.1272, allocations: 15.98 kB / 422.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.1273, allocations: 4 kB / 422.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.1273, allocations: 4 kB / 422.1 MB, free: 12.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002417/0.1276, allocations: 196.2 kB / 422.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1276, allocations: 0 / 422.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003691/0.128, allocations: 32 kB / 422.3 MB, free: 11.83 MB / 362.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001838/0.1298, allocations: 1.159 MB / 423.5 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003596/0.1302, allocations: 143.4 kB / 423.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.1302, allocations: 0 / 423.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.1304, allocations: 39.92 kB / 423.7 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.1307, allocations: 20.31 kB / 423.7 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.1318, allocations: 0.6901 MB / 424.4 MB, free: 9.762 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.1322, allocations: 0.7238 MB / 425.1 MB, free: 9.012 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.871e-05/0.1323, allocations: 16.42 kB / 425.1 MB, free: 8.996 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.157e-05/0.1324, allocations: 39.42 kB / 425.2 MB, free: 8.957 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.1324, allocations: 0 / 425.2 MB, free: 8.957 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0255/0.1579, allocations: 3.169 MB / 428.3 MB, free: 5.801 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003762/0.1583, allocations: 250.2 kB / 428.6 MB, free: 5.465 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.356/2.515, allocations: 0 / 428.6 MB, free: 5.465 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat does not exist to compare? outputFormat=mat