Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_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.0007521/0.0007521, allocations: 98.61 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008853/0.0008853, allocations: 207.2 kB / 18.29 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2346/0.2346, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000274/0.000274, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1143, allocations: 63.55 MB / 483.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002012/0.1164, allocations: 1.389 MB / 484.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.1181, allocations: 1.159 MB / 485.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.692e-05/0.1182, allocations: 0 / 485.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.1184, allocations: 23.86 kB / 485.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.1187, allocations: 67.81 kB / 485.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004142/0.1191, allocations: 166.9 kB / 486 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.1193, allocations: 75.77 kB / 486 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.623e-05/0.1194, allocations: 15.98 kB / 486.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.451e-05/0.1194, allocations: 23.92 kB / 486.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.1196, allocations: 43.77 kB / 486.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1196, allocations: 4 kB / 486.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.1198, allocations: 95.88 kB / 486.2 MB, free: 1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.215e-05/0.1198, allocations: 11.92 kB / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.883e-05/0.1199, allocations: 57.5 kB / 486.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.1202, allocations: 143.9 kB / 486.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1202, allocations: 0 / 486.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1202, allocations: 0 / 486.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1202, allocations: 0 / 486.4 MB, free: 0.7852 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.0005841/0.1208, allocations: 415.2 kB / 486.8 MB, free: 340 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.1208, allocations: 8.875 kB / 486.9 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.185e-05/0.1209, allocations: 42.69 kB / 486.9 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.1209, allocations: 12.75 kB / 486.9 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.1211, allocations: 200.2 kB / 487.1 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1212, allocations: 4.375 kB / 487.1 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.1212, allocations: 4.375 kB / 487.1 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.1214, allocations: 79.38 kB / 487.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1214, allocations: 3.938 kB / 487.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1215, allocations: 7.984 kB / 487.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1215, allocations: 0 / 487.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.1216, allocations: 43.97 kB / 487.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.1221, allocations: 320.7 kB / 487.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.1223, allocations: 58.55 kB / 487.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.89e-05/0.1223, allocations: 32.88 kB / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.1224, allocations: 0 / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.1224, allocations: 30.56 kB / 487.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1224, allocations: 0 / 487.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008638/0.1233, allocations: 273.2 kB / 487.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.1233, allocations: 77.11 kB / 488 MB, free: 15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.1235, allocations: 160.2 kB / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.1235, allocations: 33.7 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.419e-05/0.1236, allocations: 104 kB / 488.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.1236, allocations: 19.7 kB / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.1237, allocations: 13.72 kB / 488.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1238, allocations: 314.8 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.1239, allocations: 51.95 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.1241, allocations: 65.75 kB / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.1243, allocations: 104.8 kB / 488.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1244, allocations: 3.984 kB / 488.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003233/0.1247, allocations: 141.5 kB / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1247, allocations: 8 kB / 489 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1247, allocations: 0 / 489 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.1247, allocations: 0 / 489 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.1249, allocations: 27.97 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.1249, allocations: 0 / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.146e-05/0.125, allocations: 19.88 kB / 489.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.125, allocations: 7.984 kB / 489.1 MB, free: 13.9 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 8.615e-05/0.1251, allocations: 117.8 kB / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.1251, allocations: 7.906 kB / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003801/0.1255, allocations: 158.3 kB / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1255, allocations: 4 kB / 489.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1255, allocations: 0 / 489.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.1256, allocations: 7.969 kB / 489.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006128/0.1262, allocations: 442.3 kB / 489.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1262, allocations: 0 / 489.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.687e-05/0.1263, allocations: 31.98 kB / 489.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1263, allocations: 0 / 489.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.1263, allocations: 3.938 kB / 489.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1263, allocations: 3.984 kB / 489.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1263, allocations: 0 / 489.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.1267, allocations: 239.8 kB / 490.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.1268, allocations: 93 kB / 490.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.1268, allocations: 3.938 kB / 490.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.1269, allocations: 16 kB / 490.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.127, allocations: 15.86 kB / 490.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.127, allocations: 0 / 490.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.1271, allocations: 121.3 kB / 490.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1271, allocations: 0 / 490.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003008/0.1274, allocations: 39.98 kB / 490.3 MB, free: 12.52 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.001611/0.129, allocations: 1.155 MB / 491.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003271/0.1293, allocations: 111.9 kB / 491.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1294, allocations: 0 / 491.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.1295, allocations: 63.95 kB / 491.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.1299, allocations: 12.31 kB / 491.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.132, allocations: 1.724 MB / 493.4 MB, free: 9.516 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.1322, allocations: 0.701 MB / 494.1 MB, free: 8.789 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.906e-05/0.1323, allocations: 24.41 kB / 494.1 MB, free: 8.766 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.395e-05/0.1324, allocations: 31.42 kB / 494.2 MB, free: 8.734 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1324, allocations: 0 / 494.2 MB, free: 8.734 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01452/0.147, allocations: 3.124 MB / 497.3 MB, free: 5.723 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/0.1472, allocations: 234.6 kB / 497.5 MB, free: 5.473 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/2.059, allocations: 0 / 497.5 MB, free: 5.473 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches