Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001251/0.001251, 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.001299/0.001299, 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.559/1.559, 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.252/0.252, allocations: 46.12 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.003161/0.003162, allocations: 80.41 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1392, allocations: 62.45 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003998/0.1432, allocations: 1.732 MB / 482 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.1452, allocations: 1.017 MB / 483 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.1453, allocations: 3.938 kB / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000402/0.1458, allocations: 83.69 kB / 483.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004009/0.1462, allocations: 115.6 kB / 483.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.1465, allocations: 75.69 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002517/0.1468, allocations: 115.7 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1469, allocations: 7.984 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.147, allocations: 55.77 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.1472, allocations: 63.75 kB / 483.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.1472, allocations: 4 kB / 483.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.1474, allocations: 51.92 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.304e-05/0.1474, allocations: 19.92 kB / 483.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.932e-05/0.1475, allocations: 35.73 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.1478, allocations: 131.8 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1478, allocations: 3.938 kB / 483.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1478, allocations: 0 / 483.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.1478, allocations: 0 / 483.7 MB, free: 1.59 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.0006993/0.1485, allocations: 422.9 kB / 484.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.1486, allocations: 8.031 kB / 484.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.493e-05/0.1486, allocations: 34.75 kB / 484.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.482e-05/0.1487, allocations: 16.75 kB / 484.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.149, allocations: 215.9 kB / 484.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.149, allocations: 384 / 484.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.149, allocations: 7.938 kB / 484.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.1492, allocations: 57.61 kB / 484.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1492, allocations: 0 / 484.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1492, allocations: 0 / 484.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.1493, allocations: 0 / 484.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.028e-05/0.1493, allocations: 23.98 kB / 484.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004361/0.1498, allocations: 300.8 kB / 484.8 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.15, allocations: 54.69 kB / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.983e-05/0.1501, allocations: 24.83 kB / 484.9 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1501, allocations: 0 / 484.9 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/0.1503, allocations: 75.33 kB / 484.9 MB, free: 204 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1503, allocations: 0 / 484.9 MB, free: 204 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005935/0.1509, allocations: 173.1 kB / 485.1 MB, free: 24 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/0.151, allocations: 55.34 kB / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.1513, allocations: 228.2 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.1513, allocations: 29.7 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.178e-05/0.1514, allocations: 112.1 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/0.1515, allocations: 23.66 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.767e-05/0.1515, allocations: 21.7 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.1517, allocations: 322.8 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.511e-05/0.1518, allocations: 20 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.83e-05/0.1519, allocations: 34.08 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.152, allocations: 73.62 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.152, allocations: 0 / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002126/0.1523, allocations: 101.5 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1523, allocations: 8 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.1523, allocations: 0 / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1523, allocations: 192 / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.1524, allocations: 19.94 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.1524, allocations: 3.938 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.685e-05/0.1525, allocations: 11.92 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.1525, allocations: 4.031 kB / 486.2 MB, free: 14.91 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.0001516/0.1527, allocations: 129.8 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/0.1527, allocations: 11.89 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.057e-05/0.1528, allocations: 17.41 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1528, allocations: 0 / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.1528, allocations: 0 / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.1528, allocations: 7.875 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005961/0.1534, allocations: 411.4 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1534, allocations: 0 / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.611e-05/0.1535, allocations: 8 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.1535, allocations: 3.938 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.1535, allocations: 0 / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.1535, allocations: 11.92 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1535, allocations: 0 / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.1538, allocations: 200.3 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-05/0.1539, allocations: 88.92 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.1539, allocations: 7.938 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.67e-05/0.154, allocations: 8 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.1541, allocations: 7.984 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.1541, allocations: 4 kB / 487 MB, free: 13.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001659/0.1542, allocations: 161.2 kB / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1543, allocations: 4 kB / 487.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.1545, allocations: 23.98 kB / 487.2 MB, free: 13.72 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.002331/0.1569, allocations: 1.089 MB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002265/0.1571, allocations: 67.91 kB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1571, allocations: 0 / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.093e-05/0.1572, allocations: 31.92 kB / 488.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.1576, allocations: 37.05 kB / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.1598, allocations: 1.696 MB / 490.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004638/0.1603, allocations: 0.7158 MB / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.921e-05/0.1604, allocations: 16.88 kB / 490.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.942e-05/0.1605, allocations: 35.42 kB / 490.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1605, allocations: 0 / 490.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02513/0.1856, allocations: 3.507 MB / 494.4 MB, free: 6.637 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.029/8.215, allocations: 15.84 kB / 494.4 MB, free: 6.621 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1)