Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test34",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.01036/0.01036, allocations: 106.8 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.2.mo): time 0.001157/0.001157, allocations: 180.8 kB / 15.95 MB, free: 5.953 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.989/1.989, allocations: 194.5 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.2614/0.2614, allocations: 40.04 MB / 296.5 MB, free: 6.262 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006393/0.0006398, allocations: 15.98 kB / 361.2 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1293, allocations: 54.89 MB / 416 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002477/0.1318, allocations: 1.345 MB / 417.4 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.1335, allocations: 0.7228 MB / 418.1 MB, free: 456 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.454e-05/0.1336, allocations: 4 kB / 418.1 MB, free: 452 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.1339, allocations: 27.89 kB / 418.1 MB, free: 424 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.1341, allocations: 35.83 kB / 418.2 MB, free: 388 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.1344, allocations: 51.83 kB / 418.2 MB, free: 336 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.1346, allocations: 67.84 kB / 418.3 MB, free: 268 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.002e-05/0.1347, allocations: 8 kB / 418.3 MB, free: 260 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.1348, allocations: 35.86 kB / 418.3 MB, free: 224 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.245e-05/0.1349, allocations: 27.84 kB / 418.4 MB, free: 196 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.1349, allocations: 4 kB / 418.4 MB, free: 192 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.135, allocations: 23.98 kB / 418.4 MB, free: 168 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.043e-05/0.1351, allocations: 19.92 kB / 418.4 MB, free: 148 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.096e-05/0.1352, allocations: 37.7 kB / 418.4 MB, free: 104 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.1354, allocations: 88.02 kB / 418.5 MB, free: 16 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1354, allocations: 0 / 418.5 MB, free: 16 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.1354, allocations: 7.938 kB / 418.5 MB, free: 8 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.1354, allocations: 0 / 418.5 MB, free: 8 kB / 346.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.0006314/0.1361, allocations: 446.4 kB / 419 MB, free: 15.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.1361, allocations: 8.031 kB / 419 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.175e-05/0.1362, allocations: 34.56 kB / 419 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.1362, allocations: 7.906 kB / 419 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.1365, allocations: 198.9 kB / 419.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.1366, allocations: 0 / 419.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.1366, allocations: 11.95 kB / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.1368, allocations: 53.67 kB / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.1368, allocations: 4 kB / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.1369, allocations: 7.938 kB / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1369, allocations: 0 / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.137, allocations: 19.98 kB / 419.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/0.1375, allocations: 300.7 kB / 419.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.1378, allocations: 62.62 kB / 419.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.1378, allocations: 0 / 419.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/0.1381, allocations: 67.5 kB / 419.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.904e-06/0.1381, allocations: 0 / 419.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008088/0.1389, allocations: 173.2 kB / 419.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.139, allocations: 63.39 kB / 420 MB, free: 14.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.1392, allocations: 178.2 kB / 420.1 MB, free: 14.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.1392, allocations: 25.7 kB / 420.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.594e-05/0.1393, allocations: 96.12 kB / 420.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.1394, allocations: 27.64 kB / 420.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/0.1394, allocations: 11.94 kB / 420.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1395, allocations: 322.8 kB / 420.6 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.1397, allocations: 23.98 kB / 420.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.1398, allocations: 57.69 kB / 420.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.14, allocations: 61.7 kB / 420.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.14, allocations: 0 / 420.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003892/0.1404, allocations: 155.2 kB / 420.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.858e-05/0.1405, allocations: 37.69 kB / 420.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1405, allocations: 0 / 420.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1405, allocations: 0 / 420.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.1407, allocations: 24.3 kB / 421 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1407, allocations: 4.031 kB / 421 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.107e-05/0.1408, allocations: 12 kB / 421 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.1408, allocations: 4 kB / 421 MB, free: 13.3 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.0001364/0.141, allocations: 125.8 kB / 421.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.141, allocations: 15.81 kB / 421.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.183e-05/0.1411, allocations: 12.72 kB / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.1411, allocations: 3.984 kB / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1411, allocations: 0 / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1411, allocations: 0 / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006462/0.1418, allocations: 399.3 kB / 421.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.1418, allocations: 0 / 421.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.042e-05/0.1419, allocations: 11.94 kB / 421.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.1419, allocations: 0 / 421.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.1419, allocations: 11.98 kB / 421.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.1419, allocations: 3.938 kB / 421.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1419, allocations: 0 / 421.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.1423, allocations: 222.1 kB / 421.8 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.1424, allocations: 100.9 kB / 421.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.1425, allocations: 0 / 421.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.1426, allocations: 4 kB / 421.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.1427, allocations: 7.984 kB / 421.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.1427, allocations: 0 / 421.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000163/0.1429, allocations: 148.1 kB / 422 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1429, allocations: 0 / 422 MB, free: 12.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003954/0.1433, allocations: 28 kB / 422.1 MB, free: 12.12 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.001896/0.1452, allocations: 1.153 MB / 423.2 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003978/0.1456, allocations: 151.2 kB / 423.4 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.1457, allocations: 4 kB / 423.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.1458, allocations: 31.92 kB / 423.4 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.1461, allocations: 19.94 kB / 423.4 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.1472, allocations: 0.617 MB / 424 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.1475, allocations: 0.7083 MB / 424.7 MB, free: 9.391 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.394e-05/0.1476, allocations: 16.56 kB / 424.7 MB, free: 9.375 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.603e-05/0.1477, allocations: 27.42 kB / 424.8 MB, free: 9.348 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1477, allocations: 0 / 424.8 MB, free: 9.348 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.1744, allocations: 2.853 MB / 427.6 MB, free: 6.508 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004133/0.1749, allocations: 250.2 kB / 427.9 MB, free: 6.172 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.302/2.477, allocations: 0 / 427.9 MB, free: 6.172 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat does not exist to compare? outputFormat=mat