Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.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.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001357/0.001358, 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.001266/0.001266, 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.478/1.478, 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.2264/0.2264, 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.002173/0.002173, allocations: 78.67 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1148, allocations: 62.44 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.003268/0.1182, allocations: 1.663 MB / 481.9 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.12, allocations: 1.202 MB / 483.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.293e-05/0.1201, allocations: 0 / 483.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002311/0.1204, allocations: 23.86 kB / 483.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.1207, allocations: 91.61 kB / 483.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004251/0.1211, allocations: 168.4 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.1213, allocations: 87.75 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1214, allocations: 16 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.682e-05/0.1214, allocations: 31.86 kB / 483.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.1216, allocations: 43.77 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.1216, allocations: 4 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.1218, allocations: 95.94 kB / 483.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.223e-05/0.1219, allocations: 23.92 kB / 483.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.044e-05/0.1219, allocations: 35.78 kB / 483.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003146/0.1223, allocations: 151.9 kB / 483.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.1223, allocations: 3.984 kB / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1223, allocations: 0 / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1223, allocations: 4 kB / 483.8 MB, free: 1.496 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.0006375/0.1229, allocations: 419 kB / 484.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.123, allocations: 8.031 kB / 484.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.757e-05/0.123, allocations: 30.75 kB / 484.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.1231, allocations: 8.844 kB / 484.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.1233, allocations: 206.2 kB / 484.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1233, allocations: 12.31 kB / 484.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.1234, allocations: 384 / 484.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.1236, allocations: 75.33 kB / 484.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1236, allocations: 0 / 484.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1236, allocations: 4 kB / 484.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.1236, allocations: 4 kB / 484.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.1238, allocations: 39.95 kB / 484.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/0.1242, allocations: 316.7 kB / 484.9 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.1244, allocations: 46.56 kB / 485 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.026e-05/0.1245, allocations: 32.86 kB / 485 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.1245, allocations: 4 kB / 485 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.1245, allocations: 30.56 kB / 485 MB, free: 112 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.745e-06/0.1245, allocations: 0 / 485 MB, free: 112 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008584/0.1254, allocations: 241 kB / 485.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.1255, allocations: 81.09 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.1257, allocations: 159.9 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.1257, allocations: 25.7 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.995e-05/0.1258, allocations: 96.12 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.243e-05/0.1258, allocations: 19.72 kB / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.1259, allocations: 21.7 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002456/0.1261, allocations: 326.8 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.1263, allocations: 39.91 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.1264, allocations: 49.69 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.1267, allocations: 96.84 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1267, allocations: 4.031 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003069/0.127, allocations: 117.5 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.127, allocations: 4 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.127, allocations: 0 / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.127, allocations: 3.984 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.1272, allocations: 23.92 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1272, allocations: 0 / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.188e-05/0.1273, allocations: 27.77 kB / 486.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.1273, allocations: 0 / 486.4 MB, free: 14.73 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 (7): * Single equations (assignments): 7 * 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.000105/0.1274, allocations: 121.8 kB / 486.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.1274, allocations: 7.906 kB / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003722/0.1278, allocations: 138.6 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1278, allocations: 4 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1279, allocations: 0 / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.1279, allocations: 11.92 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006213/0.1285, allocations: 410.4 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1285, allocations: 0 / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.399e-05/0.1286, allocations: 27.98 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1286, allocations: 4 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.1286, allocations: 7.922 kB / 487.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1286, allocations: 0 / 487.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1286, allocations: 0 / 487.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003955/0.129, allocations: 227.3 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.685e-05/0.1291, allocations: 81.02 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.1291, allocations: 19.86 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.811e-05/0.1293, allocations: 8 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.1293, allocations: 7.984 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.1293, allocations: 3.938 kB / 487.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.1294, allocations: 119.2 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1294, allocations: 0 / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002977/0.1297, allocations: 47.98 kB / 487.6 MB, free: 13.4 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 (7): * Single equations (assignments): 7 * 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.002404/0.1321, allocations: 1.129 MB / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003465/0.1325, allocations: 91.92 kB / 488.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1325, allocations: 4 kB / 488.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.1327, allocations: 55.89 kB / 488.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.133, allocations: 15 kB / 488.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.1354, allocations: 1.643 MB / 490.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.1359, allocations: 0.6965 MB / 491.2 MB, free: 9.805 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.136, allocations: 32.7 kB / 491.2 MB, free: 9.773 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.355e-05/0.1361, allocations: 35.36 kB / 491.3 MB, free: 9.738 MB / 366.1 MB Notification: Performance of SimCode: time 1.113e-06/0.1361, allocations: 0 / 491.3 MB, free: 9.738 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03658/0.1727, allocations: 3.523 MB / 494.8 MB, free: 6.289 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.292, allocations: 12.58 kB / 494.8 MB, free: 6.281 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test14_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test14.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1)