Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001266/0.001266, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001336/0.001336, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.234/0.234, 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.002453/0.002453, allocations: 81.34 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1353, allocations: 62.45 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003471/0.1389, allocations: 1.72 MB / 481.9 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.1407, allocations: 1.021 MB / 483 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.845e-05/0.1408, allocations: 4 kB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.1411, allocations: 51.75 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003272/0.1414, allocations: 99.53 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.1417, allocations: 79.67 kB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.1419, allocations: 107.7 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.142, allocations: 11.97 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.317e-05/0.1421, allocations: 39.8 kB / 483.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.184e-05/0.1422, allocations: 35.78 kB / 483.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.1422, allocations: 4 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.977e-05/0.1423, allocations: 47.92 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.685e-05/0.1424, allocations: 19.92 kB / 483.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.745e-05/0.1424, allocations: 55.59 kB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.1427, allocations: 119.9 kB / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1427, allocations: 4 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1427, allocations: 0 / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1427, allocations: 0 / 483.6 MB, free: 1.699 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.0006682/0.1434, allocations: 426.8 kB / 484 MB, free: 1.234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.1434, allocations: 12.03 kB / 484.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.252e-05/0.1435, allocations: 34.73 kB / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.1435, allocations: 8.844 kB / 484.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.1438, allocations: 225.6 kB / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.1438, allocations: 384 / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.1438, allocations: 7.938 kB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.144, allocations: 57.61 kB / 484.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.144, allocations: 0 / 484.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.144, allocations: 0 / 484.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.144, allocations: 0 / 484.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.771e-05/0.1441, allocations: 19.98 kB / 484.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.1445, allocations: 304.7 kB / 484.7 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.1447, allocations: 62.61 kB / 484.8 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.754e-05/0.1448, allocations: 20.84 kB / 484.8 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.1448, allocations: 0 / 484.8 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002155/0.145, allocations: 71.39 kB / 484.9 MB, free: 304 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.145, allocations: 0 / 484.9 MB, free: 304 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005416/0.1456, allocations: 173.1 kB / 485 MB, free: 124 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.1456, allocations: 51.41 kB / 485.1 MB, free: 60 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.1459, allocations: 243 kB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.1459, allocations: 25.7 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.819e-05/0.146, allocations: 112.1 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.876e-05/0.1461, allocations: 23.66 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.1461, allocations: 25.7 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1463, allocations: 322.8 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.614e-05/0.1463, allocations: 27.92 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.198e-05/0.1464, allocations: 38.08 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.1466, allocations: 61.64 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1466, allocations: 192 / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001974/0.1468, allocations: 113.4 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.1468, allocations: 7.938 kB / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1468, allocations: 0 / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1468, allocations: 0 / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.665e-05/0.1469, allocations: 19.98 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.1469, allocations: 0 / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.931e-05/0.147, allocations: 11.94 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.147, allocations: 0 / 486.1 MB, free: 15 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.0001214/0.1471, allocations: 133.8 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.1472, allocations: 15.94 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.156e-05/0.1472, allocations: 17.41 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1472, allocations: 0 / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1472, allocations: 3.984 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.1472, allocations: 3.938 kB / 486.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004819/0.1477, allocations: 399.2 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1477, allocations: 0 / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.592e-05/0.1478, allocations: 11.98 kB / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1478, allocations: 7.969 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/0.1478, allocations: 7.984 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1478, allocations: 4 kB / 486.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1478, allocations: 0 / 486.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.1481, allocations: 196.5 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.576e-05/0.1482, allocations: 88.92 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.1482, allocations: 15.92 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.1483, allocations: 4 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.1483, allocations: 4 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.1483, allocations: 7.984 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.1485, allocations: 172.4 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1485, allocations: 0 / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.1488, allocations: 27.98 kB / 487.2 MB, free: 13.79 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.002175/0.151, allocations: 1.099 MB / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.1512, allocations: 63.91 kB / 488.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1512, allocations: 0 / 488.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.719e-05/0.1513, allocations: 31.98 kB / 488.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.1516, allocations: 33.05 kB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.1538, allocations: 1.731 MB / 490.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.1542, allocations: 0.7273 MB / 490.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.99e-05/0.1542, allocations: 13.19 kB / 490.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.712e-05/0.1543, allocations: 43.41 kB / 490.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1543, allocations: 0 / 490.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.1792, allocations: 3.54 MB / 494.5 MB, free: 6.617 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.015/8.195, allocations: 21.41 kB / 494.5 MB, free: 6.602 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53_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_Test53.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1)