Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.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.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001575/0.001574, 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.001515/0.001515, 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.497/1.497, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2318/0.2318, allocations: 46.12 MB / 344.2 MB, free: 11.57 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.002249/0.002249, allocations: 77.34 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.131, allocations: 62.46 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003413/0.1345, allocations: 1.604 MB / 481.8 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.1356, allocations: 0.5533 MB / 482.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.811e-05/0.1357, allocations: 4 kB / 482.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003435/0.1361, allocations: 107.7 kB / 482.5 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.1364, allocations: 115.6 kB / 482.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.1368, allocations: 114.9 kB / 482.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.137, allocations: 87.8 kB / 482.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1371, allocations: 16 kB / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.323e-05/0.1372, allocations: 47.83 kB / 482.9 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.1373, allocations: 67.8 kB / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.1373, allocations: 4 kB / 482.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.1374, allocations: 43.98 kB / 483 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.852e-05/0.1375, allocations: 23.92 kB / 483 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.75e-05/0.1376, allocations: 39.67 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.1378, allocations: 123.8 kB / 483.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1378, allocations: 3.938 kB / 483.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1378, allocations: 0 / 483.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1378, allocations: 0 / 483.2 MB, free: 2.18 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.0005781/0.1384, allocations: 426.8 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.1384, allocations: 8.031 kB / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.1385, allocations: 34.75 kB / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.1385, allocations: 8.844 kB / 483.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.1388, allocations: 213.6 kB / 483.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.1388, allocations: 4.375 kB / 483.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.1388, allocations: 8.375 kB / 483.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.139, allocations: 61.53 kB / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.139, allocations: 0 / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.139, allocations: 0 / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.139, allocations: 0 / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.1391, allocations: 31.97 kB / 483.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.1396, allocations: 312.7 kB / 484.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.1397, allocations: 46.5 kB / 484.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.622e-05/0.1398, allocations: 20.94 kB / 484.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.1398, allocations: 4 kB / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.1399, allocations: 30.56 kB / 484.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1399, allocations: 0 / 484.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009395/0.1408, allocations: 245 kB / 484.6 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.1409, allocations: 55.41 kB / 484.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.1411, allocations: 263 kB / 484.9 MB, free: 248 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.1412, allocations: 29.7 kB / 484.9 MB, free: 212 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.911e-05/0.1412, allocations: 104.1 kB / 485 MB, free: 104 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.1413, allocations: 31.56 kB / 485.1 MB, free: 72 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.1413, allocations: 25.7 kB / 485.1 MB, free: 40 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1415, allocations: 326.8 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.084e-05/0.1416, allocations: 35.92 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.184e-05/0.1417, allocations: 27.97 kB / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.1419, allocations: 72.83 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1419, allocations: 4 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002313/0.1421, allocations: 117.5 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1421, allocations: 4 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1421, allocations: 0 / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1422, allocations: 0 / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1423, allocations: 23.92 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1423, allocations: 4.25 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.339e-05/0.1423, allocations: 8 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.1424, allocations: 4 kB / 485.7 MB, free: 15.41 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.0001229/0.1425, allocations: 133.8 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.1425, allocations: 15.75 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.1429, allocations: 139 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1429, allocations: 4 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.1429, allocations: 8.359 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.1429, allocations: 3.938 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000586/0.1435, allocations: 423.2 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.1435, allocations: 3.984 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.217e-05/0.1436, allocations: 19.94 kB / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1436, allocations: 4 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.1436, allocations: 12 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1436, allocations: 0 / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1436, allocations: 0 / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.1439, allocations: 212.2 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.144, allocations: 92.89 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.144, allocations: 0 / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.699e-05/0.1441, allocations: 11.98 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.1441, allocations: 8 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.1442, allocations: 0 / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001744/0.1443, allocations: 192.4 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1443, allocations: 0 / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.1446, allocations: 24 kB / 487 MB, free: 14.02 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.002142/0.1468, allocations: 1.1 MB / 488.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002544/0.147, allocations: 83.91 kB / 488.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.147, allocations: 0 / 488.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.906e-05/0.1472, allocations: 39.92 kB / 488.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.1475, allocations: 25.05 kB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.1499, allocations: 1.777 MB / 490 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.1503, allocations: 0.7195 MB / 490.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.397e-05/0.1504, allocations: 16.66 kB / 490.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.221e-05/0.1505, allocations: 39.41 kB / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1505, allocations: 0 / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.1768, allocations: 3.254 MB / 494 MB, free: 7.062 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.98/8.157, allocations: 8.453 kB / 494 MB, free: 7.059 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1)