Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001731/0.001731, allocations: 103.7 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.001895/0.001895, allocations: 212.6 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.512/1.512, 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.2297/0.2297, allocations: 46.12 MB / 344.2 MB, free: 11.6 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.002228/0.002228, allocations: 84.58 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1282, allocations: 62.45 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003027/0.1313, allocations: 1.693 MB / 481.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.133, allocations: 1.005 MB / 482.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.867e-05/0.1331, allocations: 0 / 482.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.1334, allocations: 59.75 kB / 483 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003399/0.1338, allocations: 99.59 kB / 483.1 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.134, allocations: 71.67 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.1342, allocations: 95.7 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.403e-05/0.1343, allocations: 4.234 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.569e-05/0.1344, allocations: 43.78 kB / 483.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.776e-05/0.1344, allocations: 31.86 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.1345, allocations: 4 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.129e-05/0.1346, allocations: 31.92 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.249e-05/0.1346, allocations: 35.84 kB / 483.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.324e-05/0.1347, allocations: 39.67 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.1349, allocations: 123.8 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1349, allocations: 0 / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1349, allocations: 0 / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.135, allocations: 0 / 483.5 MB, free: 1.805 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006198/0.1356, allocations: 434.7 kB / 484 MB, free: 1.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.1356, allocations: 8.031 kB / 484 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.686e-05/0.1357, allocations: 38.69 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.1357, allocations: 16.83 kB / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.136, allocations: 212.9 kB / 484.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.136, allocations: 8.359 kB / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.136, allocations: 3.938 kB / 484.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.1362, allocations: 45.69 kB / 484.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.1362, allocations: 4 kB / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1362, allocations: 3.984 kB / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1362, allocations: 4 kB / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.49e-05/0.1363, allocations: 12 kB / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002128/0.1365, allocations: 193.6 kB / 484.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.1367, allocations: 66.47 kB / 484.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.376e-05/0.1367, allocations: 16.86 kB / 484.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.1367, allocations: 4 kB / 484.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.137, allocations: 63.39 kB / 484.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.137, allocations: 3.938 kB / 484.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002769/0.1373, allocations: 101.4 kB / 484.8 MB, free: 420 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.1373, allocations: 55.41 kB / 484.8 MB, free: 352 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.1376, allocations: 263 kB / 485.1 MB, free: 76 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.1376, allocations: 33.7 kB / 485.1 MB, free: 36 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.185e-05/0.1377, allocations: 112.1 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.1377, allocations: 7.906 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.1378, allocations: 21.7 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1379, allocations: 330.8 kB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.571e-05/0.138, allocations: 8.25 kB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.415e-05/0.138, allocations: 29.7 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.97e-05/0.1381, allocations: 53.64 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.1382, allocations: 3.938 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001769/0.1383, allocations: 85.5 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1384, allocations: 11.94 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1384, allocations: 0 / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1384, allocations: 0 / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.446e-05/0.1385, allocations: 11.98 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1385, allocations: 4 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.553e-05/0.1385, allocations: 7.844 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.1385, allocations: 8.031 kB / 485.8 MB, free: 15.32 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 (7): * Single equations (assignments): 7 * 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.0001069/0.1387, allocations: 133.8 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.1387, allocations: 11.91 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.869e-05/0.1387, allocations: 20.98 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.1387, allocations: 0 / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1388, allocations: 0 / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1388, allocations: 0 / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.1389, allocations: 209.5 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1389, allocations: 0 / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.045e-05/0.139, allocations: 8 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.139, allocations: 0 / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.139, allocations: 3.984 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.139, allocations: 7.875 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.139, allocations: 0 / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.1392, allocations: 112.9 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.097e-05/0.1393, allocations: 93 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.1393, allocations: 0 / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.369e-05/0.1393, allocations: 4 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.1394, allocations: 4 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.1394, allocations: 7.984 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001779/0.1396, allocations: 200.4 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1396, allocations: 0 / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002111/0.1398, allocations: 27.94 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001913/0.1417, allocations: 0.9457 MB / 487.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001873/0.1419, allocations: 47.91 kB / 487.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1419, allocations: 0 / 487.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.748e-05/0.142, allocations: 16 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.1423, allocations: 35.17 kB / 487.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.1443, allocations: 1.673 MB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.1447, allocations: 0.7127 MB / 490 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.843e-05/0.1447, allocations: 20.52 kB / 490.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.957e-05/0.1448, allocations: 43.42 kB / 490.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1448, allocations: 0 / 490.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.1688, allocations: 3.421 MB / 493.5 MB, free: 7.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.017/8.186, allocations: 11.86 kB / 493.5 MB, free: 7.559 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62_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_Test62.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1)