Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001501/0.001502, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001708/0.001707, allocations: 212.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2259/0.2259, allocations: 46.12 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 84.91 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.121, allocations: 62.46 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003349/0.1244, allocations: 1.727 MB / 481.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.1262, allocations: 1.017 MB / 483 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.856e-05/0.1263, allocations: 4 kB / 483 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.1266, allocations: 51.75 kB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003083/0.1269, allocations: 99.52 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.1271, allocations: 83.67 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.1273, allocations: 103.7 kB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1274, allocations: 12 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.363e-05/0.1275, allocations: 43.78 kB / 483.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.442e-05/0.1276, allocations: 27.8 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.1276, allocations: 4 kB / 483.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.1277, allocations: 43.98 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.828e-05/0.1278, allocations: 31.89 kB / 483.5 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.686e-05/0.1279, allocations: 47.62 kB / 483.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.1282, allocations: 135.8 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1282, allocations: 4 kB / 483.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1282, allocations: 0 / 483.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1282, allocations: 0 / 483.6 MB, free: 1.695 MB / 350.1 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.0006571/0.1289, allocations: 438.7 kB / 484.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.1289, allocations: 12.02 kB / 484.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.277e-05/0.129, allocations: 38.75 kB / 484.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.129, allocations: 12.75 kB / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.1293, allocations: 221 kB / 484.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.1293, allocations: 4.375 kB / 484.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.1294, allocations: 11.88 kB / 484.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.1295, allocations: 53.67 kB / 484.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1295, allocations: 4 kB / 484.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1296, allocations: 0 / 484.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1296, allocations: 4 kB / 484.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.374e-05/0.1296, allocations: 15.98 kB / 484.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004517/0.1301, allocations: 304.8 kB / 484.7 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.1303, allocations: 62.61 kB / 484.8 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.577e-05/0.1304, allocations: 16.86 kB / 484.8 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.1304, allocations: 3.938 kB / 484.8 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.1306, allocations: 71.39 kB / 484.9 MB, free: 280 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.1307, allocations: 0 / 484.9 MB, free: 280 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006335/0.1313, allocations: 188.9 kB / 485.1 MB, free: 84 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.1314, allocations: 51.41 kB / 485.1 MB, free: 20 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/0.1317, allocations: 270.9 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.1317, allocations: 29.69 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.652e-05/0.1318, allocations: 116.1 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.1319, allocations: 23.66 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.1319, allocations: 29.7 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1321, allocations: 326.8 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.186e-05/0.1322, allocations: 23.92 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-05/0.1322, allocations: 33.7 kB / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.1324, allocations: 57.72 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1324, allocations: 0 / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001982/0.1326, allocations: 113.4 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1326, allocations: 4 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1326, allocations: 0 / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1326, allocations: 3.984 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.511e-05/0.1327, allocations: 16 kB / 486.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1327, allocations: 0 / 486.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.178e-05/0.1328, allocations: 11.92 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.1328, allocations: 4 kB / 486.2 MB, free: 14.92 MB / 366.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001306/0.1329, allocations: 141.8 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.133, allocations: 15.81 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.158e-05/0.133, allocations: 21.39 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.133, allocations: 0 / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.133, allocations: 0 / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1331, allocations: 3.938 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005209/0.1336, allocations: 407.6 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1336, allocations: 0 / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.378e-05/0.1336, allocations: 16.03 kB / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1336, allocations: 3.938 kB / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.1337, allocations: 192 / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1337, allocations: 4.234 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1337, allocations: 3.938 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.1339, allocations: 220 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.617e-05/0.134, allocations: 85.02 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.1341, allocations: 15.94 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.714e-05/0.1341, allocations: 0 / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.1342, allocations: 7.984 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.1342, allocations: 4 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000223/0.1344, allocations: 204.4 kB / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1344, allocations: 0 / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1347, allocations: 31.98 kB / 487.3 MB, free: 13.66 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002213/0.1369, allocations: 1.093 MB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.1371, allocations: 63.89 kB / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1371, allocations: 0 / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.243e-05/0.1372, allocations: 27.98 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.1376, allocations: 26.05 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.1397, allocations: 1.823 MB / 490.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.14, allocations: 0.7235 MB / 491.1 MB, free: 9.918 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.071e-05/0.1401, allocations: 16.86 kB / 491.1 MB, free: 9.902 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.446e-05/0.1402, allocations: 47.41 kB / 491.1 MB, free: 9.855 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1402, allocations: 0 / 491.1 MB, free: 9.855 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.1666, allocations: 3.713 MB / 494.9 MB, free: 6.227 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.001/8.167, allocations: 10.08 kB / 494.9 MB, free: 6.219 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1)