Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.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.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001677/0.001677, 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.002067/0.002067, 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.438/1.438, 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.2568/0.2568, 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.002227/0.002227, allocations: 78.12 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1355, allocations: 62.46 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003077/0.1387, allocations: 1.604 MB / 481.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009903/0.1397, allocations: 0.5415 MB / 482.4 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.334e-05/0.1397, allocations: 0 / 482.4 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.14, allocations: 71.77 kB / 482.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000318/0.1403, allocations: 111.6 kB / 482.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.1406, allocations: 95.69 kB / 482.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.1408, allocations: 71.89 kB / 482.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1409, allocations: 12 kB / 482.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.389e-05/0.141, allocations: 43.77 kB / 482.8 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.1411, allocations: 63.81 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.1411, allocations: 0 / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.825e-05/0.1412, allocations: 47.98 kB / 482.9 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.13e-05/0.1413, allocations: 19.92 kB / 482.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.879e-05/0.1414, allocations: 31.73 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.1416, allocations: 104 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1416, allocations: 3.938 kB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1416, allocations: 0 / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.1417, allocations: 0 / 483 MB, free: 2.32 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006024/0.1423, allocations: 422.9 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.1423, allocations: 8.031 kB / 483.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.174e-05/0.1424, allocations: 34.75 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.1424, allocations: 16.83 kB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.1426, allocations: 188.8 kB / 483.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.1426, allocations: 8.375 kB / 483.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.1427, allocations: 384 / 483.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.1428, allocations: 61.61 kB / 483.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1428, allocations: 3.906 kB / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.1428, allocations: 4 kB / 483.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1429, allocations: 0 / 483.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.143, allocations: 35.89 kB / 483.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004291/0.1434, allocations: 296.8 kB / 484.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.1435, allocations: 38.56 kB / 484.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.27e-05/0.1436, allocations: 28.88 kB / 484.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.1436, allocations: 0 / 484.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.1437, allocations: 34.5 kB / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.795e-06/0.1437, allocations: 3.984 kB / 484.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008816/0.1446, allocations: 225 kB / 484.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.1446, allocations: 51.41 kB / 484.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.1449, allocations: 222.3 kB / 484.7 MB, free: 480 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.1449, allocations: 25.7 kB / 484.7 MB, free: 448 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.145, allocations: 104.1 kB / 484.8 MB, free: 340 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.145, allocations: 35.67 kB / 484.8 MB, free: 304 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.1451, allocations: 17.72 kB / 484.9 MB, free: 280 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002431/0.1453, allocations: 326.8 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.375e-05/0.1454, allocations: 31.97 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.801e-05/0.1455, allocations: 19.98 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.1456, allocations: 64.77 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1456, allocations: 0 / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002331/0.1459, allocations: 101.6 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1459, allocations: 4 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.1459, allocations: 0 / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1459, allocations: 0 / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.797e-05/0.146, allocations: 19.98 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.146, allocations: 3.938 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.433e-05/0.1461, allocations: 7.984 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.1461, allocations: 320 / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001209/0.1462, allocations: 133.8 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.1463, allocations: 15.81 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000294/0.1466, allocations: 127 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1466, allocations: 0 / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.1466, allocations: 3.938 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1466, allocations: 0 / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005635/0.1472, allocations: 403.3 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1472, allocations: 0 / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.889e-05/0.1473, allocations: 27.86 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1473, allocations: 4 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.1473, allocations: 0 / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.1473, allocations: 4 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1473, allocations: 0 / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.1476, allocations: 212.2 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.889e-05/0.1477, allocations: 88.95 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.1477, allocations: 3.938 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.1478, allocations: 7.984 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.1478, allocations: 4 kB / 486.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.1479, allocations: 4 kB / 486.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001513/0.148, allocations: 164.2 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.188e-06/0.148, allocations: 7.938 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.1483, allocations: 23.94 kB / 486.6 MB, free: 14.37 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.002212/0.1505, allocations: 1.08 MB / 487.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002401/0.1508, allocations: 63.89 kB / 487.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1508, allocations: 0 / 487.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.476e-05/0.1509, allocations: 48.02 kB / 487.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.1513, allocations: 25.36 kB / 487.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.1532, allocations: 1.654 MB / 489.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.1536, allocations: 0.7041 MB / 490.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.915e-05/0.1537, allocations: 16.66 kB / 490.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.916e-05/0.1537, allocations: 35.42 kB / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1538, allocations: 0 / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.1786, allocations: 3.033 MB / 493.3 MB, free: 7.812 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.954/8.133, allocations: 20.38 kB / 493.3 MB, free: 7.797 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1)