Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test80",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.01083/0.01084, allocations: 107.5 kB / 15.06 MB, free: 6.031 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.001172/0.001172, allocations: 179.2 kB / 15.95 MB, free: 5.957 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.966/1.966, allocations: 194.5 MB / 211.2 MB, free: 11.07 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.2931/0.2931, allocations: 40.03 MB / 296.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006704/0.0006706, allocations: 16 kB / 361.2 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1274, allocations: 54.88 MB / 416 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.0027/0.1302, allocations: 1.419 MB / 417.5 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003406/0.1336, allocations: 1.5 MB / 419 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.1338, allocations: 0 / 419 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.1341, allocations: 43.83 kB / 419 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.1345, allocations: 59.78 kB / 419.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.1348, allocations: 95.72 kB / 419.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.1351, allocations: 115.8 kB / 419.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.677e-05/0.1352, allocations: 9.562 kB / 419.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.1354, allocations: 63.7 kB / 419.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.1357, allocations: 66.7 kB / 419.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.338e-05/0.1357, allocations: 4 kB / 419.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002602/0.136, allocations: 71.86 kB / 419.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.885e-05/0.1361, allocations: 35.83 kB / 419.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.522e-05/0.1362, allocations: 41.64 kB / 419.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003543/0.1365, allocations: 160 kB / 419.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.1365, allocations: 0 / 419.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1365, allocations: 0 / 419.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.1366, allocations: 0 / 419.7 MB, free: 14.85 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.0008756/0.1374, allocations: 0.5522 MB / 420.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.1375, allocations: 16.03 kB / 420.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.129e-05/0.1376, allocations: 34.56 kB / 420.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.985e-05/0.1376, allocations: 11.91 kB / 420.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004024/0.1381, allocations: 230.7 kB / 420.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.1381, allocations: 11.94 kB / 420.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.1381, allocations: 7.953 kB / 420.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/0.1385, allocations: 97.08 kB / 420.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1385, allocations: 4 kB / 420.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.1385, allocations: 7.922 kB / 420.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.1385, allocations: 4 kB / 420.7 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.1387, allocations: 35.91 kB / 420.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.1391, allocations: 226.5 kB / 420.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000435/0.1395, allocations: 113.3 kB / 421 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.482e-05/0.1396, allocations: 0 / 421 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000362/0.14, allocations: 113.1 kB / 421.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 2.084e-06/0.14, allocations: 0 / 421.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007438/0.1408, allocations: 169.4 kB / 421.3 MB, free: 13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.397e-05/0.1409, allocations: 136.5 kB / 421.5 MB, free: 12.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.1412, allocations: 210.3 kB / 421.7 MB, free: 12.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.1412, allocations: 29.7 kB / 421.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.924e-05/0.1413, allocations: 108.4 kB / 421.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.235e-05/0.1414, allocations: 23.62 kB / 421.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.738e-05/0.1414, allocations: 8 kB / 421.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1416, allocations: 330.8 kB / 422.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.1418, allocations: 43.98 kB / 422.2 MB, free: 12.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.1421, allocations: 93.11 kB / 422.3 MB, free: 11.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/0.1424, allocations: 115.4 kB / 422.4 MB, free: 11.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.1424, allocations: 4.031 kB / 422.4 MB, free: 11.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006774/0.1431, allocations: 248.8 kB / 422.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.903e-05/0.1432, allocations: 71.34 kB / 422.7 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.1432, allocations: 0 / 422.7 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1432, allocations: 11.86 kB / 422.7 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.1434, allocations: 24 kB / 422.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.1434, allocations: 0 / 422.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.1437, allocations: 27.77 kB / 422.8 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.1437, allocations: 12.06 kB / 422.8 MB, free: 11.41 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.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (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.0001796/0.1439, allocations: 137.8 kB / 422.9 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.528e-05/0.144, allocations: 15.81 kB / 422.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.081e-05/0.144, allocations: 16.95 kB / 422.9 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.144, allocations: 0 / 422.9 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.1441, allocations: 0 / 422.9 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.1441, allocations: 7.984 kB / 423 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.1443, allocations: 202.2 kB / 423.2 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.1444, allocations: 0 / 423.2 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.84e-05/0.1444, allocations: 19.94 kB / 423.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.1445, allocations: 3.984 kB / 423.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.1445, allocations: 8 kB / 423.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.1445, allocations: 3.953 kB / 423.2 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.1445, allocations: 0 / 423.2 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004873/0.145, allocations: 183.5 kB / 423.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.1451, allocations: 108.9 kB / 423.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.811e-05/0.1452, allocations: 7.953 kB / 423.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.1453, allocations: 11.98 kB / 423.5 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.1454, allocations: 4 kB / 423.5 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.1454, allocations: 7.984 kB / 423.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001957/0.1457, allocations: 144.2 kB / 423.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1457, allocations: 0 / 423.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004347/0.1461, allocations: 63.98 kB / 423.7 MB, free: 10.39 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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.002846/0.149, allocations: 1.414 MB / 425.1 MB, free: 9.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006911/0.1497, allocations: 258.7 kB / 425.4 MB, free: 8.742 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.1497, allocations: 4 kB / 425.4 MB, free: 8.738 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.1499, allocations: 44.05 kB / 425.4 MB, free: 8.695 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.1504, allocations: 35.75 kB / 425.5 MB, free: 8.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.1517, allocations: 0.9813 MB / 426.4 MB, free: 7.621 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.1521, allocations: 0.7166 MB / 427.2 MB, free: 6.879 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001567/0.1522, allocations: 33.83 kB / 427.2 MB, free: 6.844 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.1524, allocations: 51.36 kB / 427.2 MB, free: 6.793 MB / 362.7 MB Notification: Performance of SimCode: time 9.91e-07/0.1524, allocations: 0 / 427.2 MB, free: 6.793 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03062/0.183, allocations: 4.472 MB / 431.7 MB, free: 2.332 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004022/0.1835, allocations: 246.7 kB / 432 MB, free: 2 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.425/2.609, allocations: 0 / 432 MB, free: 2 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat does not exist to compare? outputFormat=mat