Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001379/0.001379, 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.001394/0.001395, 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.476/1.476, 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.2506/0.2506, 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.00245/0.00245, allocations: 75.39 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1146, allocations: 62.45 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003272/0.1179, allocations: 1.623 MB / 481.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.119, allocations: 0.565 MB / 482.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.807e-05/0.1191, allocations: 0 / 482.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005605/0.1197, allocations: 455.1 kB / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000481/0.1202, allocations: 291.3 kB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004645/0.1206, allocations: 176.8 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.1209, allocations: 175.6 kB / 483.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.609e-05/0.121, allocations: 12 kB / 483.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.1211, allocations: 107.8 kB / 483.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.1214, allocations: 215.6 kB / 483.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.1214, allocations: 4 kB / 483.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.447e-05/0.1215, allocations: 31.98 kB / 483.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.1216, allocations: 87.67 kB / 483.9 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.469e-05/0.1217, allocations: 106.9 kB / 484 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.122, allocations: 247 kB / 484.3 MB, free: 1.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1221, allocations: 4 kB / 484.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1221, allocations: 0 / 484.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.433e-06/0.1221, allocations: 0 / 484.3 MB, free: 1.07 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.0007794/0.1229, allocations: 0.6455 MB / 484.9 MB, free: 384 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1229, allocations: 11.97 kB / 484.9 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.145e-05/0.1229, allocations: 34.75 kB / 485 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.776e-05/0.123, allocations: 40.38 kB / 485 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.1233, allocations: 300.3 kB / 485.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1234, allocations: 8.375 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.1234, allocations: 384 / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.1236, allocations: 57.61 kB / 485.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.1236, allocations: 4 kB / 485.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.1236, allocations: 0 / 485.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1236, allocations: 0 / 485.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.1238, allocations: 43.84 kB / 485.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005483/0.1243, allocations: 400.7 kB / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.1245, allocations: 54.48 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.299e-05/0.1246, allocations: 24.94 kB / 485.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.1246, allocations: 0 / 485.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.1246, allocations: 30.56 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.1246, allocations: 0 / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003586/0.125, allocations: 133.1 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.125, allocations: 51.41 kB / 486.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008919/0.1259, allocations: 0.8699 MB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.126, allocations: 25.7 kB / 487 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.1262, allocations: 223.9 kB / 487.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.1262, allocations: 7.906 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.1262, allocations: 13.72 kB / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1264, allocations: 370.7 kB / 487.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.096e-05/0.1265, allocations: 19.98 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.152e-05/0.1266, allocations: 15.98 kB / 487.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.1267, allocations: 53.03 kB / 487.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1267, allocations: 0 / 487.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002225/0.1269, allocations: 109.1 kB / 487.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.127, allocations: 8 kB / 487.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.127, allocations: 4 kB / 487.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.127, allocations: 3.984 kB / 487.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.123e-05/0.1271, allocations: 8 kB / 487.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1271, allocations: 0 / 487.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.266e-05/0.1272, allocations: 7.984 kB / 487.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1272, allocations: 0 / 487.8 MB, free: 13.29 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 (3): * Single equations (assignments): 3 * 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.0001983/0.1274, allocations: 213.7 kB / 488 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.066e-05/0.1274, allocations: 43.44 kB / 488.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002665/0.1277, allocations: 129 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1277, allocations: 3.984 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1277, allocations: 8 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1278, allocations: 0 / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.1281, allocations: 293.5 kB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1281, allocations: 0 / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.948e-05/0.1281, allocations: 11.98 kB / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.1282, allocations: 0 / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.1282, allocations: 0 / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1282, allocations: 7.938 kB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1282, allocations: 0 / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.1285, allocations: 214.8 kB / 488.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.504e-05/0.1286, allocations: 108.6 kB / 488.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.1286, allocations: 7.938 kB / 488.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.905e-05/0.1287, allocations: 4 kB / 488.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/0.1287, allocations: 7.984 kB / 488.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.1287, allocations: 4 kB / 488.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006683/0.1294, allocations: 0.655 MB / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1294, allocations: 0 / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.1297, allocations: 23.98 kB / 489.5 MB, free: 11.47 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 (3): * Single equations (assignments): 3 * 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.001683/0.1314, allocations: 0.9884 MB / 490.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.1316, allocations: 43.89 kB / 490.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1316, allocations: 4 kB / 490.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.126e-05/0.1316, allocations: 19.98 kB / 490.6 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.132, allocations: 31.91 kB / 490.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003932/0.136, allocations: 3.257 MB / 493.9 MB, free: 7.141 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005105/0.1365, allocations: 0.8221 MB / 494.7 MB, free: 6.293 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.039e-05/0.1366, allocations: 11.98 kB / 494.7 MB, free: 6.281 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.1367, allocations: 111.4 kB / 494.8 MB, free: 6.172 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1367, allocations: 0 / 494.8 MB, free: 6.172 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04237/0.1791, allocations: 5.695 MB / 0.4888 GB, free: 0.543 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.301/8.48, allocations: 17.02 kB / 0.4888 GB, free: 0.5273 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1)