Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001401/0.001401, allocations: 102.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001818/0.001818, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 227.4 MB / 246.8 MB, free: 10.51 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.2304/0.2304, allocations: 46.11 MB / 344.2 MB, free: 11.54 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.002203/0.002203, allocations: 81.66 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1267, allocations: 62.44 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003443/0.1302, allocations: 1.731 MB / 481.9 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.132, allocations: 1.013 MB / 483 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.328e-05/0.1321, allocations: 7.938 kB / 483 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.1325, allocations: 47.81 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000337/0.1328, allocations: 99.53 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.133, allocations: 75.67 kB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.1332, allocations: 103.7 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1334, allocations: 8 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.278e-05/0.1335, allocations: 43.78 kB / 483.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.805e-05/0.1335, allocations: 39.78 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.1336, allocations: 4 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.1337, allocations: 43.98 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.243e-05/0.1337, allocations: 27.86 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.34e-05/0.1338, allocations: 35.73 kB / 483.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.134, allocations: 115.9 kB / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.134, allocations: 3.938 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1341, allocations: 0 / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1341, allocations: 4 kB / 483.6 MB, free: 1.711 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.0006267/0.1347, allocations: 422.9 kB / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1347, allocations: 12.03 kB / 484 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.453e-05/0.1348, allocations: 34.75 kB / 484.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.1348, allocations: 12.75 kB / 484.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.1351, allocations: 216 kB / 484.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.1351, allocations: 8.375 kB / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.1351, allocations: 3.938 kB / 484.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.1353, allocations: 53.67 kB / 484.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1353, allocations: 4 kB / 484.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.1353, allocations: 4 kB / 484.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.1353, allocations: 0 / 484.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.742e-05/0.1354, allocations: 19.98 kB / 484.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.1358, allocations: 280.9 kB / 484.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.136, allocations: 62.61 kB / 484.7 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.887e-05/0.1361, allocations: 24.84 kB / 484.7 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.1361, allocations: 7.984 kB / 484.7 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.1363, allocations: 67.39 kB / 484.8 MB, free: 336 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1363, allocations: 0 / 484.8 MB, free: 336 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005344/0.1369, allocations: 181 kB / 485 MB, free: 148 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.1369, allocations: 59.41 kB / 485 MB, free: 76 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.1372, allocations: 206.3 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.1372, allocations: 25.7 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.664e-05/0.1373, allocations: 112.1 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.1373, allocations: 23.7 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.1373, allocations: 21.66 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1375, allocations: 322.8 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.984e-05/0.1376, allocations: 23.98 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.837e-05/0.1376, allocations: 41.7 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.1378, allocations: 57.7 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1378, allocations: 0 / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001917/0.138, allocations: 105.4 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.138, allocations: 4 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.138, allocations: 0 / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.138, allocations: 192 / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.993e-05/0.1381, allocations: 23.92 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1381, allocations: 7.969 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.764e-05/0.1382, allocations: 11.88 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1382, allocations: 4 kB / 486 MB, free: 15.05 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.0001108/0.1383, allocations: 125.8 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.1383, allocations: 11.91 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.463e-05/0.1384, allocations: 17.41 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1384, allocations: 0 / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1384, allocations: 0 / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.1384, allocations: 7.922 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006402/0.1391, allocations: 399.2 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1391, allocations: 0 / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.337e-05/0.1391, allocations: 8 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1391, allocations: 3.938 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1391, allocations: 7.984 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1392, allocations: 384 / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1392, allocations: 0 / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.1394, allocations: 204.3 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.386e-05/0.1395, allocations: 88.92 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.1395, allocations: 11.94 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-05/0.1396, allocations: 7.984 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.1396, allocations: 4 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.1396, allocations: 4 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001483/0.1398, allocations: 160.8 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1398, allocations: 4 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1401, allocations: 23.98 kB / 487.1 MB, free: 13.88 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.002153/0.1422, allocations: 1.1 MB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.1424, allocations: 59.91 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1424, allocations: 0 / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.974e-05/0.1425, allocations: 27.98 kB / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.1429, allocations: 33.17 kB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.1448, allocations: 1.694 MB / 490 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.1451, allocations: 0.7041 MB / 490.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.434e-05/0.1452, allocations: 16.84 kB / 490.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.463e-05/0.1453, allocations: 39.42 kB / 490.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1453, allocations: 0 / 490.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.1703, allocations: 3.441 MB / 494.2 MB, free: 6.871 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.97/8.141, allocations: 3.984 kB / 494.2 MB, free: 6.867 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23_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_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1)