Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001267/0.001274, 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.001291/0.001291, 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.489/1.489, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2383/0.2383, allocations: 46.11 MB / 344.2 MB, free: 11.58 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.002148/0.002148, allocations: 80.81 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1248, allocations: 62.44 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003713/0.1285, allocations: 1.731 MB / 481.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.1303, allocations: 1.025 MB / 483 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.342e-05/0.1304, allocations: 3.938 kB / 483 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.1307, allocations: 55.75 kB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003165/0.1311, allocations: 95.59 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.1313, allocations: 79.67 kB / 483.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.1315, allocations: 107.7 kB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1316, allocations: 7.984 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.53e-05/0.1317, allocations: 43.8 kB / 483.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.108e-05/0.1318, allocations: 27.8 kB / 483.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.822e-05/0.1319, allocations: 7.984 kB / 483.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.132, allocations: 47.92 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.755e-05/0.1321, allocations: 27.92 kB / 483.5 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.676e-05/0.1321, allocations: 43.67 kB / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.1324, allocations: 139.8 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1324, allocations: 0 / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1324, allocations: 0 / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1324, 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.0006807/0.1331, allocations: 446.7 kB / 484.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.1332, allocations: 8.031 kB / 484.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.127e-05/0.1332, allocations: 34.73 kB / 484.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.493e-05/0.1333, allocations: 20.69 kB / 484.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.1336, allocations: 228.9 kB / 484.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.1336, allocations: 4.375 kB / 484.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.1337, allocations: 7.938 kB / 484.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.1338, allocations: 53.67 kB / 484.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1339, allocations: 0 / 484.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.1339, allocations: 0 / 484.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.1339, allocations: 0 / 484.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.86e-05/0.134, allocations: 19.98 kB / 484.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.1344, allocations: 304.8 kB / 484.7 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.1346, allocations: 54.67 kB / 484.8 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.505e-05/0.1347, allocations: 24.84 kB / 484.8 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.1347, allocations: 3.938 kB / 484.8 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002574/0.135, allocations: 71.33 kB / 484.9 MB, free: 276 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.135, allocations: 0 / 484.9 MB, free: 276 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006501/0.1357, allocations: 185 kB / 485.1 MB, free: 84 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.1357, allocations: 55.41 kB / 485.1 MB, free: 16 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003394/0.1361, allocations: 274.9 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.1361, allocations: 25.7 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.705e-05/0.1362, allocations: 112.1 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.905e-05/0.1363, allocations: 31.62 kB / 485.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.075e-05/0.1363, allocations: 25.72 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.1365, allocations: 330.8 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.829e-05/0.1366, allocations: 20 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.938e-05/0.1366, allocations: 33.7 kB / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.1368, allocations: 57.64 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1368, allocations: 0 / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001942/0.137, allocations: 105.5 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.137, allocations: 11.98 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.137, allocations: 0 / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.1371, allocations: 0 / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.1372, allocations: 15.94 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.1372, allocations: 4.156 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.83e-05/0.1372, allocations: 3.938 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.1373, allocations: 11.97 kB / 486.2 MB, free: 14.92 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.0001568/0.1374, allocations: 137.9 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.1375, allocations: 16.19 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.325e-05/0.1375, allocations: 17.59 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1376, allocations: 4 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.1376, allocations: 3.938 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.925e-05/0.1376, allocations: 11.92 kB / 486.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005739/0.1382, allocations: 407.2 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1382, allocations: 4.031 kB / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.633e-05/0.1382, allocations: 8 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.1382, allocations: 7.938 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.1383, allocations: 0 / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.1383, allocations: 3.938 kB / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1383, allocations: 0 / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.1385, allocations: 208.1 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.588e-05/0.1386, allocations: 93 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.1387, allocations: 3.938 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.952e-05/0.1387, allocations: 4 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.1388, allocations: 11.98 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.1388, allocations: 4 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002211/0.139, allocations: 200.4 kB / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.139, allocations: 0 / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002826/0.1393, allocations: 31.98 kB / 487.3 MB, free: 13.66 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.002303/0.1416, allocations: 1.09 MB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002119/0.1419, allocations: 63.91 kB / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1419, allocations: 0 / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.722e-05/0.142, allocations: 31.92 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.1424, allocations: 41.41 kB / 488.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.1448, allocations: 1.822 MB / 490.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.1453, allocations: 0.7274 MB / 491.1 MB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.89e-05/0.1454, allocations: 12.88 kB / 491.1 MB, free: 9.898 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.469e-05/0.1454, allocations: 39.42 kB / 491.1 MB, free: 9.859 MB / 366.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1455, allocations: 0 / 491.1 MB, free: 9.859 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02869/0.1741, allocations: 3.717 MB / 494.9 MB, free: 6.223 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.996/8.17, allocations: 15.84 kB / 494.9 MB, free: 6.207 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47_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_Test47.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1)