Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001274/0.001274, 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.001391/0.001391, 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.462/1.462, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2266/0.2266, allocations: 46.12 MB / 344.2 MB, free: 11.55 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.002285/0.002285, allocations: 76.5 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1144, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003357/0.1178, allocations: 1.588 MB / 481.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1188, allocations: 0.5299 MB / 482.3 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.025e-05/0.1189, allocations: 0 / 482.3 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.1191, allocations: 35.78 kB / 482.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.1194, allocations: 79.61 kB / 482.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.1197, allocations: 91.7 kB / 482.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.1198, allocations: 63.83 kB / 482.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1199, allocations: 16 kB / 482.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.244e-05/0.12, allocations: 23.86 kB / 482.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.554e-05/0.1201, allocations: 23.84 kB / 482.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.1201, allocations: 4 kB / 482.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.944e-05/0.1202, allocations: 28 kB / 482.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.584e-05/0.1202, allocations: 7.984 kB / 482.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.584e-05/0.1203, allocations: 31.75 kB / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.1205, allocations: 84.05 kB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1206, allocations: 4 kB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1206, allocations: 0 / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.1206, allocations: 0 / 482.8 MB, free: 2.504 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005618/0.1211, allocations: 402.9 kB / 483.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.1212, allocations: 8.031 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.161e-05/0.1212, allocations: 34.75 kB / 483.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.1213, allocations: 8.844 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.1215, allocations: 196 kB / 483.4 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.1215, allocations: 4.125 kB / 483.4 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.1215, allocations: 8 kB / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.1217, allocations: 45.69 kB / 483.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1217, allocations: 0 / 483.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.1217, allocations: 4 kB / 483.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.1217, allocations: 0 / 483.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.666e-05/0.1218, allocations: 27.91 kB / 483.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.1222, allocations: 280.9 kB / 483.8 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.1225, allocations: 38.56 kB / 483.8 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.944e-05/0.1226, allocations: 28.81 kB / 483.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.1226, allocations: 0 / 483.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.1227, allocations: 30.56 kB / 483.9 MB, free: 1.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1227, allocations: 0 / 483.9 MB, free: 1.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006464/0.1233, allocations: 149.3 kB / 484 MB, free: 1.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.1234, allocations: 51.41 kB / 484.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.1236, allocations: 182.4 kB / 484.3 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.1236, allocations: 25.7 kB / 484.3 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/0.1237, allocations: 96.05 kB / 484.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.1237, allocations: 23.73 kB / 484.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-05/0.1237, allocations: 21.72 kB / 484.4 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1239, allocations: 322.8 kB / 484.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.019e-05/0.124, allocations: 15.98 kB / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.05e-05/0.124, allocations: 16.17 kB / 484.8 MB, free: 308 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.1242, allocations: 52.83 kB / 484.8 MB, free: 252 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1242, allocations: 0 / 484.8 MB, free: 252 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001905/0.1244, allocations: 85.52 kB / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1244, allocations: 4 kB / 484.9 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1244, allocations: 0 / 484.9 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.1244, allocations: 0 / 484.9 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.488e-05/0.1245, allocations: 19.92 kB / 484.9 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.1245, allocations: 7.922 kB / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.078e-05/0.1246, allocations: 4 kB / 485 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.1246, allocations: 4 kB / 485 MB, free: 120 kB / 350.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 (5): * Single equations (assignments): 5 * 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.000114/0.1247, allocations: 125.8 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.1247, allocations: 7.906 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.125, allocations: 89.91 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.125, allocations: 0 / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.125, allocations: 3.938 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.125, allocations: 0 / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004572/0.1255, allocations: 350.6 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1255, allocations: 0 / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.105e-05/0.1256, allocations: 11.98 kB / 485.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001065/0.1257, allocations: 7.875 kB / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.1257, allocations: 8.188 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1257, allocations: 4 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1257, allocations: 0 / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.126, allocations: 183.3 kB / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.219e-05/0.126, allocations: 85.02 kB / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.1261, allocations: 3.938 kB / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.946e-05/0.1261, allocations: 4 kB / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.1262, allocations: 3.984 kB / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.1262, allocations: 7.938 kB / 485.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.1263, allocations: 134.3 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1263, allocations: 0 / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003457/0.1267, allocations: 20 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.002105/0.1288, allocations: 1.015 MB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.129, allocations: 47.97 kB / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.129, allocations: 0 / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.749e-05/0.1291, allocations: 27.92 kB / 487.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.1294, allocations: 18.22 kB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.1312, allocations: 1.49 MB / 488.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.1316, allocations: 0.6963 MB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.387e-05/0.1316, allocations: 15.98 kB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.1317, allocations: 23.44 kB / 489.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1317, allocations: 4 kB / 489.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.1549, allocations: 2.579 MB / 491.9 MB, free: 9.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.779/7.934, allocations: 5.062 kB / 491.9 MB, free: 9.156 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1)