Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.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.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001308/0.001308, allocations: 106 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001414/0.001415, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2228/0.2228, allocations: 46.11 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 79.59 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1134, allocations: 62.43 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.002554/0.116, allocations: 1.669 MB / 481.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.1174, allocations: 1.179 MB / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.337e-05/0.1175, allocations: 0 / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.1177, allocations: 23.8 kB / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.1179, allocations: 87.61 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.1182, allocations: 135.2 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.1183, allocations: 67.84 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.473e-05/0.1184, allocations: 23.91 kB / 483.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.544e-05/0.1185, allocations: 27.91 kB / 483.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.1186, allocations: 51.77 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.1186, allocations: 4 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.1188, allocations: 91.89 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.565e-05/0.1189, allocations: 15.97 kB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.1189, allocations: 27.81 kB / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.1191, allocations: 155.8 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1191, allocations: 0 / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1191, allocations: 0 / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1191, allocations: 0 / 483.7 MB, free: 1.613 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.0004638/0.1196, allocations: 415.2 kB / 484.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.1196, allocations: 8.031 kB / 484.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.033e-05/0.1197, allocations: 42.73 kB / 484.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.1197, allocations: 16.72 kB / 484.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.1199, allocations: 194.6 kB / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1199, allocations: 4.375 kB / 484.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.1199, allocations: 4.375 kB / 484.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.1201, allocations: 79.31 kB / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1201, allocations: 4 kB / 484.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1201, allocations: 0 / 484.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1201, allocations: 0 / 484.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.1203, allocations: 39.89 kB / 484.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/0.1206, allocations: 288.8 kB / 484.7 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.1207, allocations: 54.48 kB / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.226e-05/0.1207, allocations: 24.94 kB / 484.8 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.1208, allocations: 0 / 484.8 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.1208, allocations: 38.5 kB / 484.9 MB, free: 256 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1208, allocations: 0 / 484.9 MB, free: 256 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006793/0.1215, allocations: 205.2 kB / 485.1 MB, free: 44 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.1216, allocations: 89.05 kB / 485.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.1217, allocations: 156.6 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.1217, allocations: 29.7 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.534e-05/0.1218, allocations: 96.12 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.1218, allocations: 19.72 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.1218, allocations: 25.7 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.223e-05/0.1219, allocations: 314.8 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.122, allocations: 31.97 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.1221, allocations: 45.69 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.1223, allocations: 80.83 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1224, allocations: 0 / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002534/0.1226, allocations: 117.7 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.1226, allocations: 4 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.1226, allocations: 4 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.1227, allocations: 4 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.1228, allocations: 19.98 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.1228, allocations: 0 / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.022e-05/0.1229, allocations: 23.86 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.1229, allocations: 0 / 486.1 MB, free: 14.94 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 6.938e-05/0.1229, allocations: 117.8 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.123, allocations: 11.84 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.1233, allocations: 134.3 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1233, allocations: 0 / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1233, allocations: 0 / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1233, allocations: 3.938 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000471/0.1238, allocations: 402.4 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1238, allocations: 0 / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.276e-05/0.1239, allocations: 27.92 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1239, allocations: 288 / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.016e-06/0.1239, allocations: 3.938 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1239, allocations: 0 / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1239, allocations: 0 / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.1242, allocations: 211.4 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.1242, allocations: 89 kB / 487.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.1243, allocations: 7.938 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.344e-05/0.1244, allocations: 11.98 kB / 487.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.472e-05/0.1244, allocations: 3.938 kB / 487.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.1244, allocations: 7.984 kB / 487.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.513e-05/0.1245, allocations: 113.5 kB / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1245, allocations: 4 kB / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.1248, allocations: 43.98 kB / 487.3 MB, free: 13.66 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.001329/0.1261, allocations: 1.122 MB / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002592/0.1264, allocations: 91.88 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1264, allocations: 0 / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.1265, allocations: 35.97 kB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.1268, allocations: 19.98 kB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.1284, allocations: 1.582 MB / 490.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.1287, allocations: 0.6963 MB / 490.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.266e-05/0.1287, allocations: 24.89 kB / 490.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.795e-05/0.1288, allocations: 31.42 kB / 490.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1288, allocations: 0 / 490.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2671/0.3959, allocations: 3.415 MB / 494.3 MB, free: 6.734 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.817/8.213, allocations: 8.156 kB / 494.3 MB, free: 6.73 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test10_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test10.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches