Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001293/0.001293, allocations: 104.1 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.001393/0.001393, 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.545/1.545, 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.232/0.232, allocations: 46.12 MB / 344.2 MB, free: 11.55 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.002883/0.002883, allocations: 79.53 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1397, allocations: 62.46 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003475/0.1432, allocations: 1.728 MB / 481.9 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.1451, allocations: 1.017 MB / 483 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.273e-05/0.1452, allocations: 8 kB / 483 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003053/0.1455, allocations: 43.77 kB / 483 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003153/0.1459, allocations: 95.53 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.1461, allocations: 83.66 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.1463, allocations: 95.7 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1464, allocations: 12 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.033e-05/0.1465, allocations: 43.78 kB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.945e-05/0.1466, allocations: 39.78 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.1466, allocations: 4 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.1467, allocations: 43.98 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.46e-05/0.1468, allocations: 19.91 kB / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.753e-05/0.1468, allocations: 31.75 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.1471, allocations: 123.8 kB / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1471, allocations: 3.938 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1471, allocations: 0 / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1471, allocations: 0 / 483.6 MB, free: 1.715 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.0006642/0.1478, allocations: 414.9 kB / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.015e-05/0.1478, allocations: 12.03 kB / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.711e-05/0.1479, allocations: 30.75 kB / 484 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.1479, allocations: 12.83 kB / 484.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.1483, allocations: 208.8 kB / 484.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1483, allocations: 12.3 kB / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.1483, allocations: 3.938 kB / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.1485, allocations: 61.61 kB / 484.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1485, allocations: 7.906 kB / 484.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1485, allocations: 7.984 kB / 484.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.1485, allocations: 0 / 484.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.96e-05/0.1486, allocations: 15.98 kB / 484.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005517/0.1492, allocations: 284.9 kB / 484.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.1494, allocations: 62.61 kB / 484.7 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.409e-05/0.1494, allocations: 20.86 kB / 484.7 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.1495, allocations: 0 / 484.7 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002219/0.1497, allocations: 67.39 kB / 484.8 MB, free: 352 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.1497, allocations: 0 / 484.8 MB, free: 352 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005754/0.1503, allocations: 173.2 kB / 485 MB, free: 172 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.1503, allocations: 55.41 kB / 485 MB, free: 104 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.1506, allocations: 206.2 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1506, allocations: 25.7 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.953e-05/0.1507, allocations: 104.1 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.1507, allocations: 27.69 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.1508, allocations: 21.72 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.151, allocations: 322.8 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.449e-05/0.1511, allocations: 23.98 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.295e-05/0.1511, allocations: 41.64 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.1513, allocations: 53.72 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1513, allocations: 4 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001939/0.1515, allocations: 101.4 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1515, allocations: 4 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.1515, allocations: 4 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.1515, allocations: 192 / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.761e-05/0.1516, allocations: 20.02 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1517, allocations: 3.938 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.204e-05/0.1517, allocations: 11.94 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.1517, allocations: 4 kB / 486 MB, free: 15.09 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.0001355/0.1519, allocations: 125.8 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.1519, allocations: 7.906 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.841e-05/0.152, allocations: 17.41 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.152, allocations: 4.312 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.152, allocations: 0 / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.152, allocations: 7.938 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005594/0.1525, allocations: 407.2 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1526, allocations: 0 / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.378e-05/0.1526, allocations: 8 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.1526, allocations: 3.938 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.1526, allocations: 4 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1526, allocations: 0 / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1526, allocations: 3.984 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.1529, allocations: 204.5 kB / 486.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.248e-05/0.153, allocations: 88.92 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.153, allocations: 3.938 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.937e-05/0.1531, allocations: 4 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.1531, allocations: 11.98 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.1532, allocations: 4 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001484/0.1533, allocations: 152.2 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1533, allocations: 0 / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1536, allocations: 16 kB / 487 MB, free: 13.93 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.002251/0.1559, allocations: 1.101 MB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002317/0.1561, allocations: 63.92 kB / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1561, allocations: 0 / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.643e-05/0.1562, allocations: 24.11 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.1566, allocations: 38.03 kB / 488.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.1587, allocations: 1.643 MB / 489.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.1591, allocations: 0.7041 MB / 490.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.381e-05/0.1592, allocations: 21.17 kB / 490.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.489e-05/0.1593, allocations: 35.42 kB / 490.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1593, allocations: 4 kB / 490.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/0.1864, allocations: 3.394 MB / 494.1 MB, free: 7.012 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.99/8.176, allocations: 0 / 494.1 MB, free: 7.012 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21_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_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1)