Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001386/0.001393, 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.001404/0.001404, 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.467/1.467, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2371/0.2371, allocations: 46.11 MB / 344.2 MB, free: 11.52 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.002237/0.002237, allocations: 80.73 kB / 417.8 MB, free: 19.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1307, allocations: 62.46 MB / 480.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003537/0.1342, allocations: 1.748 MB / 482 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.136, allocations: 1.017 MB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.925e-05/0.1361, allocations: 7.938 kB / 483 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.1364, allocations: 51.75 kB / 483 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.1368, allocations: 99.58 kB / 483.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.137, allocations: 79.67 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.1372, allocations: 123.7 kB / 483.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.1373, allocations: 23.97 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.1374, allocations: 47.8 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.957e-05/0.1375, allocations: 59.69 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.1375, allocations: 4 kB / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.1377, allocations: 59.98 kB / 483.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.142e-05/0.1377, allocations: 27.91 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.863e-05/0.1378, allocations: 47.67 kB / 483.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.138, allocations: 151.8 kB / 483.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1381, allocations: 0 / 483.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1381, allocations: 4 kB / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1381, allocations: 0 / 483.8 MB, free: 1.516 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005735/0.1386, allocations: 430.9 kB / 484.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1387, allocations: 12.02 kB / 484.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.426e-05/0.1387, allocations: 38.75 kB / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.1388, allocations: 12.75 kB / 484.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.1391, allocations: 224 kB / 484.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1391, allocations: 4.375 kB / 484.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.1391, allocations: 15.94 kB / 484.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.1393, allocations: 73.59 kB / 484.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1393, allocations: 0 / 484.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1394, allocations: 3.984 kB / 484.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1394, allocations: 0 / 484.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.1395, allocations: 39.97 kB / 484.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004346/0.1399, allocations: 336.5 kB / 484.9 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.1402, allocations: 82.55 kB / 485 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.366e-05/0.1403, allocations: 32.84 kB / 485 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1403, allocations: 0 / 485 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002494/0.1406, allocations: 87.58 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.1406, allocations: 0 / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008621/0.1415, allocations: 289.1 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.1415, allocations: 55.34 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.1417, allocations: 194.2 kB / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.1418, allocations: 33.7 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.332e-05/0.1419, allocations: 108.3 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.999e-05/0.1419, allocations: 43.36 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-05/0.142, allocations: 29.7 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1421, allocations: 330.8 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.254e-05/0.1422, allocations: 39.98 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.1424, allocations: 56.94 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.1425, allocations: 93.7 kB / 486.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.1426, allocations: 3.984 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002784/0.1428, allocations: 160 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.1429, allocations: 14.53 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1429, allocations: 3.938 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1429, allocations: 0 / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.143, allocations: 31.86 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.143, allocations: 0.8438 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.59e-05/0.1431, allocations: 4 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.1431, allocations: 4 kB / 486.6 MB, free: 14.45 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 (15): * Single equations (assignments): 15 * 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.0001354/0.1432, allocations: 133.8 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.1433, allocations: 11.81 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.892e-05/0.1433, allocations: 25.52 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.1433, allocations: 3.938 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1434, allocations: 4 kB / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.1434, allocations: 0 / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006476/0.144, allocations: 492 kB / 487.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.144, allocations: 0 / 487.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.817e-05/0.1441, allocations: 20.05 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1441, allocations: 4 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.1441, allocations: 4 kB / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.1441, allocations: 3.938 kB / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1442, allocations: 0 / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.1445, allocations: 256.9 kB / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.708e-05/0.1446, allocations: 96.91 kB / 487.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.1446, allocations: 8 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.441e-05/0.1447, allocations: 4 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.1447, allocations: 7.984 kB / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.1448, allocations: 8 kB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000151/0.1449, allocations: 148.8 kB / 487.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1449, allocations: 0 / 487.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.1452, allocations: 35.98 kB / 487.8 MB, free: 13.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.002466/0.1477, allocations: 1.196 MB / 489 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002498/0.1479, allocations: 110.5 kB / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.148, allocations: 4.062 kB / 489.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.1481, allocations: 51.86 kB / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.1484, allocations: 37.41 kB / 489.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.1507, allocations: 1.849 MB / 491.1 MB, free: 9.914 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.1511, allocations: 0.7162 MB / 491.8 MB, free: 9.172 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.842e-05/0.1512, allocations: 33.38 kB / 491.8 MB, free: 9.141 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.472e-05/0.1513, allocations: 47.42 kB / 491.9 MB, free: 9.094 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1513, allocations: 0 / 491.9 MB, free: 9.094 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.1777, allocations: 3.984 MB / 495.8 MB, free: 5.195 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.004/8.182, allocations: 8.047 kB / 495.9 MB, free: 5.188 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1)