Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test72",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.011/0.011, allocations: 106.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.2.mo): time 0.001178/0.001178, allocations: 178.2 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 2.073/2.073, allocations: 194.5 MB / 211.3 MB, free: 10.98 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.2804/0.2804, allocations: 40.05 MB / 296.5 MB, free: 6.277 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006694/0.0006697, allocations: 20 kB / 361.1 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1363, allocations: 54.88 MB / 416 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002521/0.1389, allocations: 1.427 MB / 417.5 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.1411, allocations: 0.9331 MB / 418.4 MB, free: 176 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.254e-05/0.1412, allocations: 4 kB / 418.4 MB, free: 172 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006413/0.1418, allocations: 283.4 kB / 418.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004247/0.1423, allocations: 179.6 kB / 418.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.1427, allocations: 103.6 kB / 418.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003163/0.143, allocations: 159.7 kB / 419.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.502e-05/0.1431, allocations: 13.55 kB / 419.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002097/0.1433, allocations: 111.6 kB / 419.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.1436, allocations: 143.7 kB / 419.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.1437, allocations: 4 kB / 419.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.1439, allocations: 47.92 kB / 419.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.1441, allocations: 139.6 kB / 419.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.1442, allocations: 81.45 kB / 419.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000491/0.1447, allocations: 303.8 kB / 419.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1447, allocations: 0 / 419.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1447, allocations: 3.938 kB / 419.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1447, allocations: 0 / 419.9 MB, free: 14.62 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001236/0.146, allocations: 0.7731 MB / 420.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.146, allocations: 8.031 kB / 420.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.394e-05/0.1461, allocations: 38.56 kB / 420.7 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.524e-05/0.1462, allocations: 51.28 kB / 420.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007951/0.147, allocations: 419.1 kB / 421.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.147, allocations: 8 kB / 421.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.1471, allocations: 7.953 kB / 421.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.1474, allocations: 87.36 kB / 421.3 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1474, allocations: 0 / 421.3 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.1474, allocations: 0 / 421.3 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1474, allocations: 0 / 421.3 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.1476, allocations: 31.92 kB / 421.3 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005637/0.1482, allocations: 398.3 kB / 421.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004181/0.1486, allocations: 105.3 kB / 421.8 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.1487, allocations: 4 kB / 421.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003357/0.149, allocations: 117 kB / 422 MB, free: 12.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.904e-06/0.149, allocations: 0 / 422 MB, free: 12.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007297/0.1498, allocations: 197.1 kB / 422.1 MB, free: 12.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.1498, allocations: 84.98 kB / 422.2 MB, free: 12.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/0.1515, allocations: 1.03 MB / 423.3 MB, free: 11.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.1516, allocations: 33.7 kB / 423.3 MB, free: 10.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/0.1519, allocations: 244.3 kB / 423.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.935e-05/0.1519, allocations: 27.64 kB / 423.6 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.712e-05/0.152, allocations: 8 kB / 423.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.1522, allocations: 362.8 kB / 423.9 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.1524, allocations: 43.98 kB / 424 MB, free: 10.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.1526, allocations: 87.33 kB / 424 MB, free: 10.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.1529, allocations: 111.3 kB / 424.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.1529, allocations: 0 / 424.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000683/0.1536, allocations: 280.3 kB / 424.4 MB, free: 9.797 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.724e-05/0.1537, allocations: 71.34 kB / 424.5 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.1537, allocations: 3.938 kB / 424.5 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.1537, allocations: 4 kB / 424.5 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.1539, allocations: 24.05 kB / 424.5 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1539, allocations: 0 / 424.5 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.1541, allocations: 27.83 kB / 424.6 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.1542, allocations: 8 kB / 424.6 MB, free: 9.648 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0003277/0.1545, allocations: 225.7 kB / 424.8 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.136e-05/0.1546, allocations: 47.34 kB / 424.8 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.1548, allocations: 68.56 kB / 424.9 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.1548, allocations: 0 / 424.9 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1548, allocations: 4 kB / 424.9 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1548, allocations: 0 / 424.9 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.1552, allocations: 337.5 kB / 425.2 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.1553, allocations: 4 kB / 425.2 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.242e-05/0.1553, allocations: 8 kB / 425.2 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.1553, allocations: 0 / 425.2 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.1554, allocations: 7.984 kB / 425.3 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.1554, allocations: 3.953 kB / 425.3 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1554, allocations: 0 / 425.3 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/0.1559, allocations: 218.9 kB / 425.5 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002451/0.1562, allocations: 152.4 kB / 425.6 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.226e-05/0.1563, allocations: 11.94 kB / 425.6 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.1564, allocations: 4 kB / 425.6 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.1565, allocations: 15.92 kB / 425.6 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.1565, allocations: 4 kB / 425.7 MB, free: 8.453 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00129/0.1578, allocations: 0.7643 MB / 426.4 MB, free: 7.691 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1578, allocations: 0 / 426.4 MB, free: 7.691 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004118/0.1583, allocations: 56 kB / 426.5 MB, free: 7.637 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002451/0.1607, allocations: 1.303 MB / 427.8 MB, free: 6.379 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006018/0.1613, allocations: 266.6 kB / 428 MB, free: 6.094 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1614, allocations: 4.125 kB / 428 MB, free: 6.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.1616, allocations: 43.91 kB / 428.1 MB, free: 6.047 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004499/0.162, allocations: 50.28 kB / 428.1 MB, free: 6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002711/0.1647, allocations: 1.833 MB / 430 MB, free: 4.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006215/0.1654, allocations: 0.8507 MB / 430.8 MB, free: 3.211 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002326/0.1657, allocations: 62.7 kB / 430.9 MB, free: 3.148 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002834/0.166, allocations: 143.4 kB / 431 MB, free: 3.008 MB / 362.7 MB Notification: Performance of SimCode: time 1.173e-06/0.166, allocations: 0 / 431 MB, free: 3.008 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03465/0.2006, allocations: 8.013 MB / 439 MB, free: 11 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002829/0.201, allocations: 246.3 kB / 439.3 MB, free: 10.67 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.55/2.751, allocations: 0 / 439.3 MB, free: 10.67 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat does not exist to compare? outputFormat=mat