Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001353/0.001353, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001402/0.001402, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 246.8 MB, free: 10.54 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.2317/0.2317, allocations: 46.11 MB / 344.2 MB, free: 11.56 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.002222/0.002222, allocations: 76.5 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1374, allocations: 62.46 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002974/0.1404, allocations: 1.612 MB / 481.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009645/0.1414, allocations: 0.5338 MB / 482.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.562e-05/0.1415, allocations: 0 / 482.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000243/0.1417, allocations: 83.7 kB / 482.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002785/0.142, allocations: 103.6 kB / 482.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.1423, allocations: 83.77 kB / 482.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.1424, allocations: 87.8 kB / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.493e-05/0.1425, allocations: 16 kB / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.147e-05/0.1426, allocations: 43.83 kB / 482.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.926e-05/0.1427, allocations: 51.83 kB / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.1427, allocations: 4 kB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.312e-05/0.1428, allocations: 47.97 kB / 482.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.705e-05/0.1429, allocations: 19.88 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.289e-05/0.1429, allocations: 31.73 kB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.1431, allocations: 104 kB / 483 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1431, allocations: 0 / 483 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.1431, allocations: 4 kB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.1431, allocations: 3.938 kB / 483 MB, free: 2.285 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.0004665/0.1436, allocations: 414.9 kB / 483.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.1436, allocations: 8.031 kB / 483.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.45e-05/0.1437, allocations: 30.75 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.1437, allocations: 12.84 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.1439, allocations: 204.7 kB / 483.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-06/0.1439, allocations: 8.375 kB / 483.7 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.144, allocations: 4.375 kB / 483.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.1441, allocations: 53.61 kB / 483.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1441, allocations: 3.906 kB / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.1441, allocations: 4 kB / 483.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1442, allocations: 0 / 483.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.632e-05/0.1443, allocations: 27.97 kB / 483.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.1446, allocations: 300.7 kB / 484.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.1447, allocations: 46.55 kB / 484.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.096e-05/0.1448, allocations: 12.86 kB / 484.1 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.1448, allocations: 4.078 kB / 484.1 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.1449, allocations: 34.56 kB / 484.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.1449, allocations: 4 kB / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008694/0.1458, allocations: 221.1 kB / 484.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.1458, allocations: 63.34 kB / 484.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.146, allocations: 218.2 kB / 484.7 MB, free: 452 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.1461, allocations: 33.64 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.619e-05/0.1461, allocations: 108.1 kB / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.1462, allocations: 31.61 kB / 484.8 MB, free: 268 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.1462, allocations: 21.72 kB / 484.9 MB, free: 240 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1464, allocations: 322.8 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.157e-05/0.1464, allocations: 19.98 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.318e-05/0.1465, allocations: 31.97 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.1467, allocations: 56.84 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1467, allocations: 0 / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002098/0.1469, allocations: 101.5 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1469, allocations: 4 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.147, allocations: 3.938 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.147, allocations: 4 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.888e-05/0.1471, allocations: 19.98 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.1471, allocations: 11.94 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.572e-05/0.1471, allocations: 7.984 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-06/0.1472, allocations: 4 kB / 485.4 MB, free: 15.64 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 9.905e-05/0.1473, allocations: 121.8 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.1473, allocations: 15.81 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.1476, allocations: 118.9 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1476, allocations: 4 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1476, allocations: 3.938 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1476, allocations: 3.984 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005163/0.1481, allocations: 403.3 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.1482, allocations: 4 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.702e-05/0.1482, allocations: 19.92 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1483, allocations: 4.031 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.1483, allocations: 4 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1483, allocations: 0 / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1483, allocations: 0 / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.1485, allocations: 208.6 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.1486, allocations: 88.95 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.1486, allocations: 8 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.84e-05/0.1487, allocations: 4 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.1488, allocations: 11.92 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-06/0.1488, allocations: 0 / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.1489, allocations: 164.2 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1489, allocations: 0 / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.1492, allocations: 23.98 kB / 486.6 MB, free: 14.34 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.002091/0.1513, allocations: 1.091 MB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.1515, allocations: 63.97 kB / 487.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1516, allocations: 0 / 487.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.86e-05/0.1516, allocations: 35.91 kB / 487.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.152, allocations: 19 kB / 487.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.1541, allocations: 1.664 MB / 489.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.1545, allocations: 0.7158 MB / 490.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.658e-05/0.1546, allocations: 16.95 kB / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/0.1546, allocations: 31.44 kB / 490.3 MB, free: 10.74 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1547, allocations: 0 / 490.3 MB, free: 10.74 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.1809, allocations: 3.032 MB / 493.3 MB, free: 7.781 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.812/7.993, allocations: 13.02 kB / 493.3 MB, free: 7.77 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34_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_Test34.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1)