Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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 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.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_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.001063/0.001063, 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.001115/0.001115, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2079/0.2079, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00246/0.00246, allocations: 80.64 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1109, allocations: 62.44 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.003017/0.114, allocations: 1.661 MB / 481.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.1157, allocations: 1.183 MB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.537e-05/0.1158, allocations: 4 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.116, allocations: 19.86 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.1163, allocations: 83.61 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.1167, allocations: 135.3 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.1169, allocations: 75.77 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.876e-05/0.117, allocations: 16 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.925e-05/0.117, allocations: 27.91 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.1172, allocations: 43.72 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.1172, allocations: 8 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.1174, allocations: 95.88 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.605e-05/0.1175, allocations: 19.97 kB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.44e-05/0.1176, allocations: 27.8 kB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.1178, allocations: 155.8 kB / 483.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1179, allocations: 4 kB / 483.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1179, allocations: 7.984 kB / 483.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1179, allocations: 0 / 483.7 MB, free: 1.629 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.0005328/0.1184, allocations: 407.2 kB / 484.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1185, allocations: 11.97 kB / 484.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.36e-05/0.1185, allocations: 38.75 kB / 484.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.1185, allocations: 8.844 kB / 484.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.1187, allocations: 202.6 kB / 484.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.1188, allocations: 384 / 484.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.1188, allocations: 4.375 kB / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.119, allocations: 83.25 kB / 484.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.119, allocations: 0 / 484.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.119, allocations: 4 kB / 484.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.119, allocations: 0 / 484.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.1192, allocations: 35.97 kB / 484.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.1195, allocations: 300.7 kB / 484.8 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.1196, allocations: 42.56 kB / 484.8 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.813e-05/0.1197, allocations: 24.94 kB / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.1197, allocations: 0 / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.1198, allocations: 42.55 kB / 484.9 MB, free: 280 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.1198, allocations: 0 / 484.9 MB, free: 280 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007427/0.1205, allocations: 205.1 kB / 485.1 MB, free: 68 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.1206, allocations: 81.11 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.1208, allocations: 160.4 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.1208, allocations: 25.7 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.627e-05/0.1208, allocations: 96.14 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.1209, allocations: 23.77 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.1209, allocations: 21.72 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.843e-05/0.121, allocations: 318.8 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.1211, allocations: 35.97 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.1213, allocations: 49.62 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.1215, allocations: 72.81 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1215, allocations: 0 / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002744/0.1218, allocations: 113.8 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1218, allocations: 11.98 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1218, allocations: 0 / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1218, allocations: 0 / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.1219, allocations: 23.98 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.122, allocations: 7.875 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.68e-05/0.122, allocations: 15.86 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.1221, allocations: 7.938 kB / 486.1 MB, free: 14.96 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.622e-05/0.1222, allocations: 117.8 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.1222, allocations: 7.906 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003244/0.1225, allocations: 126.3 kB / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1225, allocations: 3.984 kB / 486.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1226, allocations: 0 / 486.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.467e-06/0.1226, allocations: 3.938 kB / 486.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.1231, allocations: 406.4 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1231, allocations: 0 / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.819e-05/0.1232, allocations: 19.98 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1232, allocations: 0 / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.1232, allocations: 7.922 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1232, allocations: 0 / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1232, allocations: 4 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.1235, allocations: 211.3 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.1236, allocations: 93 kB / 487.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.1236, allocations: 3.938 kB / 487.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.832e-05/0.1237, allocations: 7.984 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.1238, allocations: 8 kB / 487.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.1238, allocations: 4 kB / 487.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001026/0.1239, allocations: 122 kB / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1239, allocations: 0 / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002929/0.1242, allocations: 39.98 kB / 487.3 MB, free: 13.69 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.001459/0.1257, allocations: 1.129 MB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002757/0.126, allocations: 79.94 kB / 488.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.126, allocations: 0 / 488.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.1261, allocations: 47.91 kB / 488.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.1264, allocations: 19.97 kB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.1283, allocations: 1.574 MB / 490.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.1285, allocations: 0.6975 MB / 490.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.328e-05/0.1286, allocations: 20.97 kB / 490.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.713e-05/0.1287, allocations: 35.41 kB / 490.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1287, allocations: 0 / 490.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.15, allocations: 3.411 MB / 494.3 MB, free: 6.766 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.345/8.495, allocations: 5.062 kB / 494.3 MB, free: 6.762 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test14_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches