Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001305/0.001305, allocations: 103.9 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.001341/0.001341, allocations: 210.4 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.516/1.516, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2286/0.2286, allocations: 46.11 MB / 344.2 MB, free: 11.59 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.002377/0.002377, allocations: 76.58 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1194, allocations: 62.45 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003492/0.1229, allocations: 1.822 MB / 482 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002598/0.1255, allocations: 1.702 MB / 483.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.723e-05/0.1257, allocations: 4 kB / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.126, allocations: 51.62 kB / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003848/0.1264, allocations: 135.4 kB / 483.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.1266, allocations: 103.6 kB / 484 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002589/0.1269, allocations: 203.4 kB / 484.2 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.394e-05/0.127, allocations: 13.69 kB / 484.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.1271, allocations: 87.62 kB / 484.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.1274, allocations: 87.36 kB / 484.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.1274, allocations: 8 kB / 484.4 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.1276, allocations: 115.9 kB / 484.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.895e-05/0.1277, allocations: 27.86 kB / 484.6 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.052e-05/0.1278, allocations: 75.52 kB / 484.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.1281, allocations: 219.6 kB / 484.9 MB, free: 496 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1281, allocations: 0 / 484.9 MB, free: 496 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1281, allocations: 0 / 484.9 MB, free: 496 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.1281, allocations: 4 kB / 484.9 MB, free: 492 kB / 350.1 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.0007559/0.1289, allocations: 498.4 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1289, allocations: 15.97 kB / 485.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.936e-05/0.129, allocations: 34.73 kB / 485.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.623e-05/0.129, allocations: 20.75 kB / 485.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.1294, allocations: 252.9 kB / 485.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.1294, allocations: 4.375 kB / 485.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.1294, allocations: 11.94 kB / 485.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.1296, allocations: 101 kB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.1297, allocations: 0 / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.1297, allocations: 4 kB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.1297, allocations: 0 / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.1298, allocations: 27.98 kB / 485.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002513/0.1301, allocations: 222.5 kB / 486 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.1303, allocations: 109.1 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.634e-05/0.1304, allocations: 41.69 kB / 486.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.1305, allocations: 4 kB / 486.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002583/0.1307, allocations: 109 kB / 486.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.1307, allocations: 0 / 486.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004453/0.1312, allocations: 161.4 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.494e-05/0.1313, allocations: 132.5 kB / 486.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.1316, allocations: 240.2 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.1316, allocations: 29.7 kB / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.575e-05/0.1317, allocations: 124.1 kB / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.1317, allocations: 23.66 kB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/0.1318, allocations: 33.7 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.132, allocations: 326.8 kB / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.639e-05/0.132, allocations: 31.92 kB / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.1322, allocations: 81.06 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.1324, allocations: 87.92 kB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.1324, allocations: 3.938 kB / 487.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002907/0.1327, allocations: 145.3 kB / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1327, allocations: 4 kB / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1327, allocations: 0 / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1328, allocations: 4 kB / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.1329, allocations: 23.98 kB / 487.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1329, allocations: 4 kB / 487.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.302e-05/0.133, allocations: 4 kB / 487.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.133, allocations: 7.938 kB / 487.7 MB, free: 13.3 MB / 366.1 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 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001335/0.1331, allocations: 141.8 kB / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.1332, allocations: 19.72 kB / 487.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.328e-05/0.1332, allocations: 28.97 kB / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1332, allocations: 0 / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.1333, allocations: 0 / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1333, allocations: 0 / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.1335, allocations: 225.5 kB / 488.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1335, allocations: 0 / 488.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.61e-05/0.1335, allocations: 15.98 kB / 488.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1335, allocations: 0 / 488.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1336, allocations: 8 kB / 488.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1336, allocations: 0 / 488.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1336, allocations: 0 / 488.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.1339, allocations: 165.6 kB / 488.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.707e-05/0.134, allocations: 100.9 kB / 488.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.134, allocations: 0 / 488.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.176e-05/0.1341, allocations: 16.11 kB / 488.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.1341, allocations: 11.94 kB / 488.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.1342, allocations: 7.984 kB / 488.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001906/0.1344, allocations: 181.6 kB / 488.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1344, allocations: 0 / 488.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002995/0.1347, allocations: 51.92 kB / 488.7 MB, free: 12.25 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: 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 (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.002287/0.137, allocations: 1.109 MB / 489.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002508/0.1372, allocations: 79.91 kB / 489.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1372, allocations: 0 / 489.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.1374, allocations: 43.91 kB / 489.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.1377, allocations: 53.33 kB / 489.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.14, allocations: 1.88 MB / 491.8 MB, free: 9.121 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.1404, allocations: 0.7242 MB / 492.6 MB, free: 8.371 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001081/0.1405, allocations: 38.02 kB / 492.6 MB, free: 8.336 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.1406, allocations: 55.41 kB / 492.6 MB, free: 8.281 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1406, allocations: 0 / 492.6 MB, free: 8.281 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.1698, allocations: 5.206 MB / 497.9 MB, free: 3.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.214/8.384, allocations: 8 kB / 497.9 MB, free: 3.16 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1)