Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test74",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.01534/0.01535, allocations: 108.4 kB / 15.06 MB, free: 6.023 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.001841/0.001841, allocations: 183.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.976/1.976, allocations: 194.6 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.2677/0.2677, allocations: 40.04 MB / 296.5 MB, free: 6.258 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004883/0.0004883, allocations: 12 kB / 361.2 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.115, allocations: 54.89 MB / 416 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002763/0.1178, allocations: 1.473 MB / 417.5 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.1202, allocations: 0.9448 MB / 418.5 MB, free: 96 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.1204, allocations: 7.938 kB / 418.5 MB, free: 88 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006206/0.1211, allocations: 223.6 kB / 418.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004322/0.1215, allocations: 159.6 kB / 418.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.122, allocations: 103.7 kB / 418.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003892/0.1224, allocations: 163.6 kB / 419.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.1226, allocations: 17.53 kB / 419.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.1228, allocations: 111.6 kB / 419.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.1231, allocations: 135.6 kB / 419.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.1232, allocations: 4 kB / 419.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000235/0.1234, allocations: 47.92 kB / 419.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.1235, allocations: 63.75 kB / 419.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.2e-05/0.1236, allocations: 57.58 kB / 419.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.1241, allocations: 183.9 kB / 419.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1241, allocations: 4 kB / 419.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.1241, allocations: 4 kB / 419.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1241, allocations: 0 / 419.7 MB, free: 14.83 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.0009571/0.1251, allocations: 0.6258 MB / 420.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.1251, allocations: 8.031 kB / 420.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.236e-05/0.1252, allocations: 38.56 kB / 420.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.285e-05/0.1253, allocations: 35.5 kB / 420.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004198/0.1257, allocations: 271 kB / 420.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.1258, allocations: 8 kB / 420.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/0.1258, allocations: 15.95 kB / 420.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.1262, allocations: 95.36 kB / 420.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.1262, allocations: 0 / 420.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.1262, allocations: 4 kB / 420.8 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1262, allocations: 3.938 kB / 420.8 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001957/0.1264, allocations: 39.97 kB / 420.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007612/0.1272, allocations: 476.9 kB / 421.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004525/0.1277, allocations: 117.4 kB / 421.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.065e-05/0.1278, allocations: 3.984 kB / 421.4 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003615/0.1282, allocations: 117.1 kB / 421.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.815e-06/0.1282, allocations: 0 / 421.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001459/0.1296, allocations: 372.4 kB / 421.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.1298, allocations: 89.09 kB / 422 MB, free: 12.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007218/0.1305, allocations: 472.3 kB / 422.5 MB, free: 11.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.289e-05/0.1306, allocations: 33.7 kB / 422.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.1307, allocations: 160.4 kB / 422.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.223e-05/0.1308, allocations: 51.38 kB / 422.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.955e-05/0.1309, allocations: 4 kB / 422.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.131, allocations: 346.8 kB / 423 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.1313, allocations: 56.16 kB / 423.1 MB, free: 11.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.1316, allocations: 100.5 kB / 423.2 MB, free: 11.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003281/0.1319, allocations: 135.3 kB / 423.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1319, allocations: 0 / 423.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007998/0.1327, allocations: 296.6 kB / 423.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.949e-05/0.1329, allocations: 67.39 kB / 423.7 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.1329, allocations: 0 / 423.7 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.1329, allocations: 8.062 kB / 423.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.1332, allocations: 36.11 kB / 423.7 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.1332, allocations: 8 kB / 423.7 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.1334, allocations: 11.94 kB / 423.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.002e-05/0.1334, allocations: 15.98 kB / 423.8 MB, free: 10.45 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.0002657/0.1337, allocations: 173.7 kB / 423.9 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.945e-05/0.1338, allocations: 27.62 kB / 424 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.1339, allocations: 34.81 kB / 424 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.1339, allocations: 11.98 kB / 424 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1339, allocations: 192 / 424 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.134, allocations: 0 / 424 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.1352, allocations: 0.6397 MB / 424.6 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.1352, allocations: 0 / 424.6 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.1353, allocations: 19.98 kB / 424.7 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.1353, allocations: 4.062 kB / 424.7 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.1354, allocations: 4 kB / 424.7 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/0.1354, allocations: 4 kB / 424.7 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.1354, allocations: 3.953 kB / 424.7 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007082/0.1361, allocations: 409.2 kB / 425.1 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.1363, allocations: 120.7 kB / 425.2 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.456e-05/0.1364, allocations: 4 kB / 425.2 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.1366, allocations: 11.98 kB / 425.2 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/0.1367, allocations: 11.98 kB / 425.2 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.545e-05/0.1367, allocations: 8 kB / 425.2 MB, free: 8.848 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005211/0.1373, allocations: 347 kB / 425.6 MB, free: 8.508 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.165e-06/0.1373, allocations: 0 / 425.6 MB, free: 8.508 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005753/0.1379, allocations: 63.92 kB / 425.6 MB, free: 8.445 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.003086/0.141, allocations: 1.735 MB / 427.4 MB, free: 6.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008141/0.1418, allocations: 298.8 kB / 427.7 MB, free: 6.434 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.1419, allocations: 192 / 427.7 MB, free: 6.434 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.1421, allocations: 63.91 kB / 427.7 MB, free: 6.371 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005689/0.1427, allocations: 45.2 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.002077/0.1448, 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.0005195/0.1454, allocations: 0.7751 MB / 429.9 MB, free: 4.109 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001794/0.1456, allocations: 29.83 kB / 429.9 MB, free: 4.074 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.1458, allocations: 83.41 kB / 430 MB, free: 3.992 MB / 362.7 MB Notification: Performance of SimCode: time 3.837e-06/0.1458, allocations: 4 kB / 430 MB, free: 3.988 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03211/0.1779, allocations: 5.668 MB / 435.7 MB, free: 14.33 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003238/0.1783, allocations: 246.2 kB / 435.9 MB, free: 14 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.466/2.644, allocations: 0 / 435.9 MB, free: 14 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat does not exist to compare? outputFormat=mat