Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001276/0.001276, 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.001363/0.001363, 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.464/1.464, allocations: 227.4 MB / 246.8 MB, free: 10.58 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.258/0.258, 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.002313/0.002313, allocations: 91.78 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1342, allocations: 62.45 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003214/0.1375, allocations: 1.728 MB / 481.9 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002442/0.1399, allocations: 1.627 MB / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.026e-05/0.14, allocations: 0 / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.1403, allocations: 27.78 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003037/0.1406, allocations: 111.5 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.1408, allocations: 79.72 kB / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.141, allocations: 107.6 kB / 483.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.936e-05/0.1411, allocations: 12 kB / 483.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.611e-05/0.1412, allocations: 43.78 kB / 483.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.1414, allocations: 47.77 kB / 484 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.1414, allocations: 4 kB / 484 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.1416, allocations: 111.9 kB / 484.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.1416, allocations: 15.92 kB / 484.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.753e-05/0.1417, allocations: 35.8 kB / 484.2 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.142, allocations: 167.8 kB / 484.3 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.142, allocations: 0 / 484.3 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.142, allocations: 3.938 kB / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.142, allocations: 0 / 484.3 MB, free: 0.9961 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.0005977/0.1426, allocations: 431 kB / 484.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1426, allocations: 8.031 kB / 484.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.67e-05/0.1427, allocations: 34.75 kB / 484.8 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.1427, allocations: 12.84 kB / 484.8 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.143, allocations: 215.4 kB / 485 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.143, allocations: 4 kB / 485 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.1431, allocations: 8 kB / 485 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.1432, allocations: 71.33 kB / 485.1 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1432, allocations: 0 / 485.1 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.1433, allocations: 0 / 485.1 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.1433, allocations: 7.984 kB / 485.1 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.049e-05/0.1434, allocations: 16 kB / 485.1 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.1437, allocations: 284.9 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.1439, allocations: 62.61 kB / 485.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.559e-05/0.144, allocations: 16.86 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.144, allocations: 8 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/0.1442, allocations: 63.39 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1442, allocations: 0 / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005371/0.1448, allocations: 173.1 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.1449, allocations: 85.05 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.1451, allocations: 163.9 kB / 486 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.1451, allocations: 29.7 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.647e-05/0.1452, allocations: 100.1 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/0.1452, allocations: 31.62 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.711e-05/0.1453, allocations: 25.66 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.1455, allocations: 326.8 kB / 486.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.813e-05/0.1455, allocations: 15.98 kB / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.932e-05/0.1456, allocations: 46.5 kB / 486.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.1458, allocations: 57.75 kB / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1458, allocations: 0 / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002028/0.146, allocations: 105.5 kB / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.146, allocations: 4 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.146, allocations: 0 / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.146, allocations: 0 / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.911e-05/0.1461, allocations: 24.12 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.1461, allocations: 3.984 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.227e-05/0.1462, allocations: 11.97 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.1462, allocations: 0 / 486.7 MB, free: 14.34 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.0001135/0.1463, allocations: 125 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.1464, allocations: 12.19 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.786e-05/0.1464, allocations: 20.7 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1464, allocations: 3.938 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1464, allocations: 4 kB / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1464, allocations: 4 kB / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004943/0.1469, allocations: 395.3 kB / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.147, allocations: 3.938 kB / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-05/0.147, allocations: 8 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.147, allocations: 3.984 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.147, allocations: 4 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.147, allocations: 0 / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.147, allocations: 240 / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.1473, allocations: 208.3 kB / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.713e-05/0.1474, allocations: 92.89 kB / 487.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.1474, allocations: 0 / 487.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.298e-05/0.1475, allocations: 11.98 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.1475, allocations: 4 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.1476, allocations: 4 kB / 487.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.1477, allocations: 130.5 kB / 487.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1477, allocations: 4 kB / 487.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003015/0.148, allocations: 43.94 kB / 487.8 MB, free: 13.18 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.00245/0.1505, allocations: 1.182 MB / 489 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.1507, allocations: 55.97 kB / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1507, allocations: 7.938 kB / 489 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.434e-05/0.1508, allocations: 31.86 kB / 489.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.1511, allocations: 30.03 kB / 489.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.153, allocations: 1.573 MB / 490.7 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.1534, allocations: 0.7012 MB / 491.4 MB, free: 9.645 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.134e-05/0.1535, allocations: 21.17 kB / 491.4 MB, free: 9.625 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.114e-05/0.1536, allocations: 35.42 kB / 491.4 MB, free: 9.59 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1536, allocations: 0 / 491.4 MB, free: 9.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.1821, allocations: 3.949 MB / 495.4 MB, free: 5.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.991/8.173, allocations: 15.64 kB / 495.4 MB, free: 5.715 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57_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_Test57.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1)