Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001328/0.001328, 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.001331/0.001331, 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.524/1.524, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.249/0.249, 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.003312/0.003312, allocations: 79.91 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1371, allocations: 62.45 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.004326/0.1414, allocations: 1.716 MB / 481.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.1435, allocations: 1.021 MB / 483 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.831e-05/0.1436, allocations: 4 kB / 483 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002875/0.1439, allocations: 55.75 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003355/0.1443, allocations: 107.5 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.1445, allocations: 75.67 kB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.1447, allocations: 99.7 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1448, allocations: 15.92 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.299e-05/0.1449, allocations: 47.78 kB / 483.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.191e-05/0.145, allocations: 31.8 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.145, allocations: 4 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.1451, allocations: 47.97 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.18e-05/0.1452, allocations: 31.86 kB / 483.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.184e-05/0.1453, allocations: 35.69 kB / 483.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.1455, allocations: 139.8 kB / 483.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1455, allocations: 0 / 483.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1455, allocations: 0 / 483.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.1455, allocations: 0 / 483.6 MB, free: 1.688 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.0006349/0.1462, allocations: 446.7 kB / 484.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.1462, allocations: 12.03 kB / 484.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.471e-05/0.1463, allocations: 34.75 kB / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.671e-05/0.1463, allocations: 20.75 kB / 484.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.1466, allocations: 216.9 kB / 484.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.1466, allocations: 8.375 kB / 484.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.1467, allocations: 3.938 kB / 484.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.1468, allocations: 57.67 kB / 484.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1468, allocations: 0 / 484.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1469, allocations: 7.984 kB / 484.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1469, allocations: 0 / 484.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.825e-05/0.147, allocations: 19.98 kB / 484.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.1474, allocations: 292.9 kB / 484.7 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.1476, allocations: 62.61 kB / 484.8 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.075e-05/0.1476, allocations: 20.86 kB / 484.8 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.1477, allocations: 11.92 kB / 484.8 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002269/0.1479, allocations: 63.39 kB / 484.9 MB, free: 268 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.1479, allocations: 0 / 484.9 MB, free: 268 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006221/0.1485, allocations: 181 kB / 485.1 MB, free: 80 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.1486, allocations: 55.39 kB / 485.1 MB, free: 12 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.1489, allocations: 274.9 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.1489, allocations: 33.7 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.736e-05/0.149, allocations: 112.1 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.149, allocations: 27.59 kB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.1491, allocations: 21.7 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1492, allocations: 330.8 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.764e-05/0.1493, allocations: 15.98 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.465e-05/0.1494, allocations: 45.64 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.1495, allocations: 57.7 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.1496, allocations: 3.984 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002413/0.1498, allocations: 105.5 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1498, allocations: 4 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.1498, allocations: 4 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1499, allocations: 0 / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.639e-05/0.1499, allocations: 19.98 kB / 486.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.15, allocations: 7.969 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.823e-05/0.15, allocations: 8.312 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.15, allocations: 4 kB / 486.2 MB, free: 14.9 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.0001163/0.1502, allocations: 132.4 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.1502, allocations: 15.81 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.721e-05/0.1502, allocations: 21.39 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.1503, allocations: 4 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1503, allocations: 4 kB / 486.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1503, allocations: 7.938 kB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004863/0.1508, allocations: 407.2 kB / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1508, allocations: 0 / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.568e-05/0.1508, allocations: 8 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1508, allocations: 3.938 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.1509, allocations: 11.98 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1509, allocations: 0 / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1509, allocations: 0 / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.1511, allocations: 212.1 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.486e-05/0.1512, allocations: 85.02 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.1512, allocations: 7.938 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.1514, allocations: 7.984 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.1514, allocations: 0 / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.1514, allocations: 4 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002092/0.1516, allocations: 216.4 kB / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1517, allocations: 0 / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.1519, allocations: 24 kB / 487.3 MB, free: 13.65 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.002087/0.154, allocations: 1.093 MB / 488.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.1542, allocations: 59.92 kB / 488.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1542, allocations: 0 / 488.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.093e-05/0.1543, allocations: 24.14 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.000359/0.1547, allocations: 41.47 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.1568, allocations: 1.829 MB / 490.4 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.1572, allocations: 0.7273 MB / 491.1 MB, free: 9.898 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.114e-05/0.1572, allocations: 24.88 kB / 491.1 MB, free: 9.875 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.497e-05/0.1573, allocations: 43.42 kB / 491.2 MB, free: 9.832 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1573, allocations: 0 / 491.2 MB, free: 9.832 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.1829, allocations: 3.705 MB / 494.9 MB, free: 6.211 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.976/8.159, allocations: 11.84 kB / 494.9 MB, free: 6.199 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46_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_Test46.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1)