Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001346/0.001346, 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.001727/0.001728, 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.495/1.495, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2302/0.2302, allocations: 46.12 MB / 344.2 MB, free: 11.59 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.002278/0.002278, allocations: 89.66 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1237, allocations: 62.46 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003815/0.1276, allocations: 1.935 MB / 482.2 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.1295, allocations: 1.056 MB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.1296, allocations: 4 kB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003391/0.13, allocations: 43.7 kB / 483.3 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003204/0.1304, allocations: 103.5 kB / 483.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.1306, allocations: 95.64 kB / 483.5 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.1308, allocations: 135.6 kB / 483.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.1309, allocations: 37.48 kB / 483.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.898e-05/0.1311, allocations: 51.77 kB / 483.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.1312, allocations: 51.66 kB / 483.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.1312, allocations: 8 kB / 483.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.1313, allocations: 51.97 kB / 483.8 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.175e-05/0.1314, allocations: 27.86 kB / 483.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.466e-05/0.1315, allocations: 51.67 kB / 483.9 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.1318, allocations: 151.7 kB / 484 MB, free: 1.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.545e-06/0.1318, allocations: 4 kB / 484 MB, free: 1.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-05/0.1318, allocations: 0 / 484 MB, free: 1.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1318, allocations: 0 / 484 MB, free: 1.34 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007299/0.1326, allocations: 480.5 kB / 484.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1326, allocations: 8.031 kB / 484.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.073e-05/0.1327, allocations: 50.67 kB / 484.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.479e-05/0.1327, allocations: 16.75 kB / 484.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.133, allocations: 233.5 kB / 484.8 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.1331, allocations: 8.359 kB / 484.8 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.1331, allocations: 15.94 kB / 484.8 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.1334, allocations: 96.23 kB / 484.9 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1334, allocations: 7.938 kB / 484.9 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.1334, allocations: 7.984 kB / 484.9 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.1334, allocations: 0 / 484.9 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.1336, allocations: 51.97 kB / 485 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007993/0.1344, allocations: 0.5126 MB / 485.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/0.1348, allocations: 82.66 kB / 485.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.1349, allocations: 40.78 kB / 485.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.1349, allocations: 4 kB / 485.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002736/0.1352, allocations: 83.38 kB / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.1352, allocations: 0 / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004297/0.1356, allocations: 145.3 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.1357, allocations: 59.39 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.1359, allocations: 198.2 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.136, allocations: 25.7 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.701e-05/0.1361, allocations: 124 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.1361, allocations: 31.59 kB / 486.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/0.1362, allocations: 25.72 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1364, allocations: 330.8 kB / 486.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.386e-05/0.1365, allocations: 27.98 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.1366, allocations: 64.2 kB / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.1368, allocations: 100.5 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1368, allocations: 0 / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000281/0.1371, allocations: 141.3 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1371, allocations: 6.344 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1371, allocations: 0 / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.1371, allocations: 7.938 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1373, allocations: 27.91 kB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1373, allocations: 4 kB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.737e-05/0.1373, allocations: 15.92 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1374, allocations: 4 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001321/0.1375, allocations: 126 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.1375, allocations: 19.75 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.766e-05/0.1376, allocations: 17.39 kB / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.1376, allocations: 7.938 kB / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1376, allocations: 0 / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1376, allocations: 0 / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.1378, allocations: 209.5 kB / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1378, allocations: 0 / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.256e-05/0.1379, allocations: 23.92 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1379, allocations: 0 / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.138, allocations: 4 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.138, allocations: 3.938 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.138, allocations: 4 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.1384, allocations: 181 kB / 487.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.1384, allocations: 92.92 kB / 487.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.1385, allocations: 4 kB / 487.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.689e-05/0.1385, allocations: 19.98 kB / 487.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.1386, allocations: 4 kB / 487.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.1386, allocations: 0 / 487.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.1387, allocations: 148.4 kB / 487.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1387, allocations: 0 / 487.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002328/0.139, allocations: 27.98 kB / 487.9 MB, free: 13.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.002034/0.141, allocations: 1.005 MB / 488.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002643/0.1413, allocations: 91.83 kB / 489 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1413, allocations: 0 / 489 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.1414, allocations: 35.92 kB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.1417, allocations: 54.7 kB / 489.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.1439, allocations: 1.729 MB / 490.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.1442, allocations: 0.72 MB / 491.5 MB, free: 9.445 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.468e-05/0.1443, allocations: 21.41 kB / 491.5 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.798e-05/0.1444, allocations: 43.42 kB / 491.6 MB, free: 9.383 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1444, allocations: 4 kB / 491.6 MB, free: 9.379 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/0.1729, allocations: 3.747 MB / 495.3 MB, free: 5.719 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.969/8.142, allocations: 11.86 kB / 495.3 MB, free: 5.707 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1)