Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test24",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.01101/0.01101, allocations: 104.6 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.001228/0.001227, allocations: 167.1 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.746/1.746, allocations: 170.9 MB / 187.5 MB, free: 1.008 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.2569/0.2569, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006151/0.0006152, allocations: 16 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1019, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003097/0.105, allocations: 1.294 MB / 373.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.1065, allocations: 411.4 kB / 374 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.114e-05/0.1066, allocations: 0 / 374 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.1069, allocations: 31.83 kB / 374 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.1071, allocations: 27.97 kB / 374.1 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.1074, allocations: 59.8 kB / 374.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.1076, allocations: 47.88 kB / 374.2 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1078, allocations: 11.97 kB / 374.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.525e-05/0.1079, allocations: 23.92 kB / 374.2 MB, free: 10.94 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.683e-05/0.108, allocations: 31.84 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.108, allocations: 0 / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.1082, allocations: 31.94 kB / 374.3 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.133e-05/0.1083, allocations: 15.98 kB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.028e-05/0.1083, allocations: 37.64 kB / 374.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.1086, allocations: 88.09 kB / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1086, allocations: 0 / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.103e-06/0.1086, allocations: 0 / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1086, allocations: 0 / 374.4 MB, free: 10.73 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.0006674/0.1093, allocations: 404.7 kB / 374.8 MB, free: 10.29 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.1094, allocations: 12.03 kB / 374.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.31e-05/0.1095, allocations: 34.55 kB / 374.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.499e-05/0.1095, allocations: 23.75 kB / 374.9 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.1099, allocations: 193.9 kB / 375 MB, free: 9.98 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1099, allocations: 0 / 375 MB, free: 9.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.1099, allocations: 4 kB / 375.1 MB, free: 9.977 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.1101, allocations: 41.69 kB / 375.1 MB, free: 9.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1101, allocations: 0 / 375.1 MB, free: 9.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1102, allocations: 0 / 375.1 MB, free: 9.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1102, allocations: 0 / 375.1 MB, free: 9.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.571e-05/0.1103, allocations: 15.98 kB / 375.1 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005092/0.1108, allocations: 288.7 kB / 375.4 MB, free: 9.582 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.1111, allocations: 42.56 kB / 375.4 MB, free: 9.531 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.1111, allocations: 0 / 375.4 MB, free: 9.531 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001914/0.1113, allocations: 59.48 kB / 375.5 MB, free: 9.461 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.084e-06/0.1114, allocations: 0 / 375.5 MB, free: 9.461 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005637/0.1119, allocations: 121.5 kB / 375.6 MB, free: 9.336 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.112, allocations: 55.41 kB / 375.7 MB, free: 9.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/0.1123, allocations: 186.6 kB / 375.8 MB, free: 9.082 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.1124, allocations: 25.7 kB / 375.9 MB, free: 9.051 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.532e-05/0.1125, allocations: 104.1 kB / 376 MB, free: 8.945 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.1125, allocations: 11.81 kB / 376 MB, free: 8.934 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.756e-06/0.1126, allocations: 3.938 kB / 376 MB, free: 8.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.1127, allocations: 330.8 kB / 376.3 MB, free: 8.598 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.098e-05/0.1128, allocations: 15.98 kB / 376.3 MB, free: 8.582 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.97e-05/0.1129, allocations: 24 kB / 376.3 MB, free: 8.559 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.1131, allocations: 45.7 kB / 376.4 MB, free: 8.508 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1131, allocations: 0 / 376.4 MB, free: 8.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003225/0.1134, allocations: 119.2 kB / 376.5 MB, free: 8.379 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.143e-05/0.1135, allocations: 33.7 kB / 376.5 MB, free: 8.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1135, allocations: 0 / 376.5 MB, free: 8.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1135, allocations: 4.031 kB / 376.5 MB, free: 8.336 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.1137, allocations: 11.98 kB / 376.6 MB, free: 8.324 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1137, allocations: 3.938 kB / 376.6 MB, free: 8.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.364e-05/0.1138, allocations: 12 kB / 376.6 MB, free: 8.309 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.1138, allocations: 4 kB / 376.6 MB, free: 8.305 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.0001551/0.114, allocations: 126.8 kB / 376.7 MB, free: 8.172 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.114, allocations: 11.88 kB / 376.7 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.985e-05/0.1141, allocations: 16.31 kB / 376.7 MB, free: 8.141 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1141, allocations: 0 / 376.7 MB, free: 8.141 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.1142, allocations: 4 kB / 376.7 MB, free: 8.137 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1142, allocations: 0 / 376.7 MB, free: 8.137 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005664/0.1148, allocations: 342.6 kB / 377.1 MB, free: 7.746 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1148, allocations: 3.938 kB / 377.1 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.884e-05/0.1149, allocations: 8 kB / 377.1 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.946e-06/0.1149, allocations: 4 kB / 377.1 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.1149, allocations: 0 / 377.1 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1149, allocations: 0 / 377.1 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.1149, allocations: 0 / 377.1 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.1152, allocations: 175.3 kB / 377.3 MB, free: 7.543 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.293e-05/0.1153, allocations: 85.02 kB / 377.3 MB, free: 7.441 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.1154, allocations: 4 kB / 377.3 MB, free: 7.438 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.1155, allocations: 0 / 377.3 MB, free: 7.438 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.1156, allocations: 7.984 kB / 377.3 MB, free: 7.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.1156, allocations: 8 kB / 377.4 MB, free: 7.422 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002072/0.1158, allocations: 131.2 kB / 377.5 MB, free: 7.293 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.1159, allocations: 0 / 377.5 MB, free: 7.293 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005594/0.1164, allocations: 27.98 kB / 377.5 MB, free: 7.266 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.001985/0.1184, allocations: 0.9652 MB / 378.5 MB, free: 6.383 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003178/0.1188, allocations: 115.3 kB / 378.6 MB, free: 6.258 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1188, allocations: 0 / 378.6 MB, free: 6.258 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.146e-05/0.1189, allocations: 16 kB / 378.6 MB, free: 6.242 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.1193, allocations: 15.92 kB / 378.6 MB, free: 6.227 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.1205, allocations: 443.4 kB / 379.1 MB, free: 5.746 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.121, allocations: 0.7082 MB / 379.8 MB, free: 5.012 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.002e-05/0.1211, allocations: 8 kB / 379.8 MB, free: 5.004 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.863e-05/0.1212, allocations: 23.42 kB / 379.8 MB, free: 4.98 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1212, allocations: 3.938 kB / 379.8 MB, free: 4.977 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.1451, allocations: 2.567 MB / 382.4 MB, free: 2.441 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003818/0.1456, allocations: 250.3 kB / 382.6 MB, free: 2.102 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.392/2.537, allocations: 0 / 382.6 MB, free: 2.102 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat does not exist to compare? outputFormat=mat