Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test78",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.01099/0.01099, allocations: 106.4 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.00124/0.00124, allocations: 180.4 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.906/1.906, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.2559/0.2559, allocations: 40.04 MB / 296.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004577/0.0004579, allocations: 16 kB / 361.2 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1155, allocations: 54.88 MB / 416 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002695/0.1183, allocations: 1.477 MB / 417.5 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002338/0.1206, allocations: 0.9487 MB / 418.5 MB, free: 104 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.1208, allocations: 0 / 418.5 MB, free: 104 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006033/0.1215, allocations: 231.5 kB / 418.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004416/0.1219, allocations: 155.6 kB / 418.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.1224, allocations: 99.7 kB / 418.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004326/0.1229, allocations: 163.7 kB / 419.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.123, allocations: 17.55 kB / 419.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002425/0.1233, allocations: 103.6 kB / 419.2 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002807/0.1236, allocations: 143.6 kB / 419.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/0.1236, allocations: 4 kB / 419.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002377/0.1239, allocations: 47.92 kB / 419.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.124, allocations: 59.81 kB / 419.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.845e-05/0.1241, allocations: 61.56 kB / 419.5 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000376/0.1245, allocations: 187.8 kB / 419.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1245, allocations: 0 / 419.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1245, allocations: 0 / 419.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1245, allocations: 4 kB / 419.7 MB, free: 14.84 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000958/0.1255, allocations: 0.6258 MB / 420.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.1256, allocations: 12.03 kB / 420.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.677e-05/0.1256, allocations: 34.55 kB / 420.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.893e-05/0.1257, allocations: 31.62 kB / 420.4 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000496/0.1262, allocations: 275 kB / 420.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.1263, allocations: 4 kB / 420.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.12e-05/0.1263, allocations: 15.89 kB / 420.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/0.1267, allocations: 103.3 kB / 420.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.1267, allocations: 0 / 420.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.1267, allocations: 3.984 kB / 420.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.1268, allocations: 4 kB / 420.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.127, allocations: 35.98 kB / 420.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00075/0.1277, allocations: 480.8 kB / 421.3 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004447/0.1282, allocations: 117.4 kB / 421.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.1283, allocations: 4.125 kB / 421.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003536/0.1286, allocations: 113.1 kB / 421.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.715e-06/0.1286, allocations: 7.875 kB / 421.6 MB, free: 12.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001459/0.1301, allocations: 379.9 kB / 421.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/0.1302, allocations: 77.11 kB / 422 MB, free: 12.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000715/0.1309, allocations: 480.3 kB / 422.5 MB, free: 11.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.131, allocations: 33.7 kB / 422.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.1312, allocations: 168.3 kB / 422.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.707e-05/0.1312, allocations: 43.45 kB / 422.7 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.604e-05/0.1313, allocations: 4 kB / 422.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.1315, allocations: 346.8 kB / 423 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.1317, allocations: 60.16 kB / 423.1 MB, free: 11.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.132, allocations: 100.5 kB / 423.2 MB, free: 11.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.1323, allocations: 131.4 kB / 423.3 MB, free: 10.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1323, allocations: 0 / 423.3 MB, free: 10.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000768/0.1331, allocations: 296.5 kB / 423.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.67e-05/0.1332, allocations: 70.2 kB / 423.7 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.1332, allocations: 4.75 kB / 423.7 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1332, allocations: 4.062 kB / 423.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.1335, allocations: 31.98 kB / 423.7 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.1335, allocations: 3.938 kB / 423.7 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.1337, allocations: 23.83 kB / 423.8 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.1337, allocations: 8 kB / 423.8 MB, free: 10.46 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.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * 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.000284/0.134, allocations: 169.8 kB / 423.9 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.337e-05/0.1341, allocations: 35.62 kB / 424 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.796e-05/0.1342, allocations: 38.81 kB / 424 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1342, allocations: 4 kB / 424 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1342, allocations: 0 / 424 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.1343, allocations: 4 kB / 424 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.1354, allocations: 0.6242 MB / 424.6 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.1355, allocations: 0 / 424.6 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.1356, allocations: 27.92 kB / 424.7 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.1356, allocations: 8.062 kB / 424.7 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.1356, allocations: 4 kB / 424.7 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.1357, allocations: 0 / 424.7 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.1357, allocations: 3.953 kB / 424.7 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000631/0.1363, allocations: 405.3 kB / 425.1 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.1365, allocations: 128.6 kB / 425.2 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.28e-05/0.1365, allocations: 4 kB / 425.2 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.1367, allocations: 11.98 kB / 425.2 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.311e-05/0.1368, allocations: 12.17 kB / 425.2 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.1369, allocations: 8 kB / 425.2 MB, free: 8.855 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004904/0.1374, allocations: 350.9 kB / 425.6 MB, free: 8.512 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1374, allocations: 3.938 kB / 425.6 MB, free: 8.508 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005254/0.1379, allocations: 59.98 kB / 425.6 MB, free: 8.449 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.002889/0.1408, allocations: 1.73 MB / 427.4 MB, free: 6.754 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007026/0.1415, allocations: 302.7 kB / 427.7 MB, free: 6.434 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1416, allocations: 0 / 427.7 MB, free: 6.434 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.1418, allocations: 59.86 kB / 427.7 MB, free: 6.375 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005434/0.1424, allocations: 49.27 kB / 427.8 MB, free: 6.328 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.1443, allocations: 1.345 MB / 429.1 MB, free: 4.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/0.1447, allocations: 0.779 MB / 429.9 MB, free: 4.105 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001532/0.1449, allocations: 30.16 kB / 429.9 MB, free: 4.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.1451, allocations: 83.41 kB / 430 MB, free: 3.988 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.1451, allocations: 7.938 kB / 430 MB, free: 3.98 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02802/0.1731, allocations: 5.656 MB / 435.7 MB, free: 14.33 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002905/0.1735, allocations: 250.2 kB / 435.9 MB, free: 14 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.6/2.774, allocations: 4 kB / 435.9 MB, free: 13.99 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat does not exist to compare? outputFormat=mat