Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001798/0.001798, 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.002107/0.002107, 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.487/1.487, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.227/0.227, allocations: 46.11 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.002418/0.002418, allocations: 80.17 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1325, allocations: 62.45 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.003357/0.1359, allocations: 1.616 MB / 481.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.1371, allocations: 0.5416 MB / 482.4 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.237e-05/0.1372, allocations: 0 / 482.4 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.1375, allocations: 75.77 kB / 482.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003737/0.1379, allocations: 103.6 kB / 482.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003786/0.1383, allocations: 98.94 kB / 482.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.1385, allocations: 75.83 kB / 482.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.1387, allocations: 19.98 kB / 482.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.497e-05/0.1388, allocations: 35.84 kB / 482.8 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.1389, allocations: 55.81 kB / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.139, allocations: 4 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.1391, allocations: 43.98 kB / 482.9 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.701e-05/0.1392, allocations: 19.92 kB / 482.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.295e-05/0.1393, allocations: 35.73 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.1395, allocations: 99.98 kB / 483 MB, free: 2.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.1395, allocations: 3.938 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1395, allocations: 4 kB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1396, 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.0006103/0.1402, allocations: 418.9 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.522e-05/0.1402, allocations: 12.03 kB / 483.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.189e-05/0.1403, allocations: 42.73 kB / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.1404, allocations: 8.844 kB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.1406, allocations: 196.8 kB / 483.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1406, allocations: 4.375 kB / 483.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.1407, allocations: 384 / 483.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.1408, allocations: 57.62 kB / 483.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.1409, allocations: 7.906 kB / 483.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1409, allocations: 0 / 483.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1409, allocations: 3.938 kB / 483.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.141, allocations: 27.97 kB / 483.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004737/0.1415, allocations: 296.8 kB / 484.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.1417, allocations: 46.5 kB / 484.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.842e-05/0.1417, allocations: 20.94 kB / 484.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.1418, allocations: 4 kB / 484.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.1418, allocations: 30.56 kB / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.1418, allocations: 0 / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.00102/0.1428, allocations: 229 kB / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.1429, allocations: 55.34 kB / 484.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.1432, allocations: 218.3 kB / 484.7 MB, free: 484 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.1432, allocations: 33.7 kB / 484.7 MB, free: 444 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.866e-05/0.1433, allocations: 104.1 kB / 484.8 MB, free: 336 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.331e-05/0.1434, allocations: 35.69 kB / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.595e-05/0.1434, allocations: 21.7 kB / 484.9 MB, free: 272 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.1437, allocations: 326.8 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.588e-05/0.1438, allocations: 23.98 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.772e-05/0.1438, allocations: 19.98 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.144, allocations: 65 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.144, allocations: 4 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000236/0.1443, allocations: 101.6 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1443, allocations: 7.984 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1443, allocations: 0 / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1443, allocations: 0 / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.1444, allocations: 19.98 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.1444, allocations: 3.938 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.53e-05/0.1445, allocations: 4 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.1445, allocations: 8 kB / 485.4 MB, free: 15.68 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.0001129/0.1446, allocations: 129.8 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.1447, allocations: 11.81 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.145, allocations: 123 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.145, allocations: 4 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.145, allocations: 3.938 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.145, allocations: 0 / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006648/0.1457, allocations: 403.3 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1457, allocations: 0 / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.1458, allocations: 27.86 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1458, allocations: 0 / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.1459, allocations: 0 / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1459, allocations: 0 / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.1459, allocations: 8.031 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/0.1463, allocations: 208.2 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.299e-05/0.1464, allocations: 84.95 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.1464, allocations: 7.938 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.1466, allocations: 7.984 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.1466, allocations: 8 kB / 486.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.1467, allocations: 7.984 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002151/0.1469, allocations: 164.2 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1469, allocations: 0 / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004239/0.1473, allocations: 16 kB / 486.6 MB, free: 14.38 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.002784/0.1501, allocations: 1.08 MB / 487.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003017/0.1504, allocations: 71.89 kB / 487.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.1504, allocations: 0 / 487.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.1506, allocations: 39.92 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.000525/0.1511, allocations: 28.86 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.002757/0.1539, allocations: 1.658 MB / 489.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.1544, allocations: 0.708 MB / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.066e-05/0.1544, allocations: 12.97 kB / 490.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.894e-05/0.1545, allocations: 31.42 kB / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1545, allocations: 4 kB / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.1825, allocations: 3.033 MB / 493.3 MB, free: 7.812 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.867/8.05, allocations: 12.94 kB / 493.3 MB, free: 7.801 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test26_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_Test26.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1)