Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test2",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.01112/0.01112, allocations: 108.7 kB / 15.06 MB, free: 5.551 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.001236/0.001236, allocations: 179.8 kB / 15.95 MB, free: 5.516 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 2.122/2.122, allocations: 194.5 MB / 211.3 MB, free: 11.02 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.3009/0.3009, allocations: 40.04 MB / 296.5 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000479/0.0004791, allocations: 16 kB / 361.1 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1388, allocations: 54.88 MB / 416 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002396/0.1412, allocations: 1.349 MB / 417.4 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.1429, allocations: 0.7228 MB / 418.1 MB, free: 452 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.424e-05/0.1431, allocations: 0 / 418.1 MB, free: 452 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.1434, allocations: 19.92 kB / 418.1 MB, free: 432 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.1436, allocations: 39.81 kB / 418.2 MB, free: 392 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.1438, allocations: 51.83 kB / 418.2 MB, free: 340 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.144, allocations: 59.86 kB / 418.3 MB, free: 280 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.507e-05/0.1441, allocations: 15.98 kB / 418.3 MB, free: 264 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.93e-05/0.1442, allocations: 35.84 kB / 418.3 MB, free: 228 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.97e-05/0.1443, allocations: 27.86 kB / 418.4 MB, free: 200 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.1444, allocations: 0 / 418.4 MB, free: 200 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.1445, allocations: 24 kB / 418.4 MB, free: 176 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.35e-05/0.1445, allocations: 15.91 kB / 418.4 MB, free: 160 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.002e-05/0.1446, allocations: 33.7 kB / 418.4 MB, free: 120 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.1448, allocations: 92.03 kB / 418.5 MB, free: 28 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.1448, allocations: 0 / 418.5 MB, free: 28 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1448, allocations: 4 kB / 418.5 MB, free: 24 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1449, allocations: 0 / 418.5 MB, free: 24 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.0006371/0.1455, allocations: 430.4 kB / 418.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.1456, allocations: 12.02 kB / 418.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.499e-05/0.1456, allocations: 34.56 kB / 419 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/0.1457, allocations: 11.91 kB / 419 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.1459, allocations: 191 kB / 419.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.146, allocations: 11.95 kB / 419.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.146, allocations: 7.984 kB / 419.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.1462, allocations: 61.66 kB / 419.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1463, allocations: 3.938 kB / 419.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1463, allocations: 0 / 419.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.1463, allocations: 0 / 419.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.1464, allocations: 23.92 kB / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004767/0.1469, allocations: 292.8 kB / 419.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.1472, allocations: 66.61 kB / 419.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.1472, allocations: 0 / 419.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002356/0.1475, allocations: 71.45 kB / 419.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.1475, allocations: 0 / 419.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007619/0.1483, allocations: 169.3 kB / 419.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.1483, allocations: 51.41 kB / 419.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.1485, allocations: 164.8 kB / 420.1 MB, free: 14.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.1486, allocations: 29.7 kB / 420.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.67e-05/0.1486, allocations: 99.97 kB / 420.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.1487, allocations: 23.7 kB / 420.2 MB, free: 14.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.308e-05/0.1487, allocations: 8 kB / 420.2 MB, free: 14.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1489, allocations: 322.8 kB / 420.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.149, allocations: 27.98 kB / 420.6 MB, free: 13.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.1492, allocations: 49.7 kB / 420.6 MB, free: 13.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.1493, allocations: 65.69 kB / 420.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1493, allocations: 0 / 420.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004118/0.1498, allocations: 159.2 kB / 420.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.376e-05/0.1498, allocations: 33.7 kB / 420.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.1498, allocations: 7.984 kB / 420.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1499, allocations: 0 / 420.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.15, allocations: 15.94 kB / 420.9 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.15, allocations: 4.031 kB / 420.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.489e-05/0.1501, allocations: 4 kB / 420.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.1502, allocations: 15.98 kB / 420.9 MB, free: 13.34 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.0001389/0.1503, allocations: 121.8 kB / 421.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.1504, allocations: 7.906 kB / 421.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.275e-05/0.1504, allocations: 12.72 kB / 421.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1504, allocations: 3.984 kB / 421.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1504, allocations: 0 / 421.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1505, allocations: 0 / 421.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006363/0.1511, allocations: 387.7 kB / 421.5 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1511, allocations: 0 / 421.5 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.512e-05/0.1512, allocations: 15.98 kB / 421.5 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.1512, allocations: 7.938 kB / 421.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.1512, allocations: 0 / 421.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1513, allocations: 0 / 421.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.1513, allocations: 4.094 kB / 421.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.1516, allocations: 229.8 kB / 421.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.387e-05/0.1517, allocations: 93 kB / 421.8 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.1518, allocations: 0 / 421.8 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.1519, allocations: 7.984 kB / 421.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.152, allocations: 11.95 kB / 421.8 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.152, allocations: 4 kB / 421.8 MB, free: 12.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001265/0.1521, allocations: 116.8 kB / 421.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1521, allocations: 0 / 421.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003775/0.1525, allocations: 31.98 kB / 422 MB, free: 12.2 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.001888/0.1544, allocations: 1.163 MB / 423.1 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003947/0.1548, allocations: 147.3 kB / 423.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1549, allocations: 7.938 kB / 423.3 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.155, allocations: 27.98 kB / 423.3 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.1553, allocations: 19.94 kB / 423.3 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009642/0.1563, allocations: 0.5858 MB / 423.9 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.1567, allocations: 0.7043 MB / 424.6 MB, free: 9.504 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.845e-05/0.1568, allocations: 8.594 kB / 424.6 MB, free: 9.496 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.453e-05/0.1569, allocations: 27.42 kB / 424.7 MB, free: 9.469 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1569, allocations: 4.188 kB / 424.7 MB, free: 9.465 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.1786, allocations: 2.739 MB / 427.4 MB, free: 6.738 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004262/0.1791, allocations: 245.1 kB / 427.6 MB, free: 6.406 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/2.552, allocations: 4 kB / 427.6 MB, free: 6.402 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat does not exist to compare? outputFormat=mat