Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_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.001403/0.001403, allocations: 103.9 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001685/0.001685, allocations: 206.5 kB / 18.58 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1948/0.1948, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 78.91 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1039, allocations: 62.43 MB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002938/0.1069, allocations: 1.669 MB / 481.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.1086, allocations: 1.171 MB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.538e-05/0.1086, allocations: 4 kB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001766/0.1089, allocations: 23.86 kB / 483 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003151/0.1092, allocations: 87.55 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003607/0.1095, allocations: 142.9 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.1097, allocations: 63.84 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1098, allocations: 15.98 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.064e-05/0.1099, allocations: 39.84 kB / 483.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.1101, allocations: 39.78 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.1101, allocations: 4 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.1103, allocations: 91.94 kB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.11e-05/0.1104, allocations: 23.91 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.844e-05/0.1104, allocations: 27.81 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.1107, allocations: 151.8 kB / 483.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.1107, allocations: 0 / 483.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1107, allocations: 0 / 483.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.1107, allocations: 0 / 483.7 MB, free: 1.621 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.1112, allocations: 423.1 kB / 484.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.1113, allocations: 12.03 kB / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.52e-05/0.1113, allocations: 38.73 kB / 484.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.1114, allocations: 8.844 kB / 484.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.1116, allocations: 202.4 kB / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1116, allocations: 4.375 kB / 484.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.1116, allocations: 4.375 kB / 484.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.1118, allocations: 79.31 kB / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1118, allocations: 3.984 kB / 484.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.1119, allocations: 0 / 484.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.1119, allocations: 4 kB / 484.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.112, allocations: 31.97 kB / 484.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.1125, allocations: 296.8 kB / 484.7 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.1126, allocations: 50.55 kB / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.31e-05/0.1127, allocations: 24.94 kB / 484.8 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.1127, allocations: 0 / 484.8 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.1128, allocations: 30.56 kB / 484.9 MB, free: 264 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1128, allocations: 0 / 484.9 MB, free: 264 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008569/0.1136, allocations: 213.2 kB / 485.1 MB, free: 44 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.574e-05/0.1137, allocations: 81.11 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.1139, allocations: 160.4 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.1139, allocations: 25.7 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.64e-05/0.114, allocations: 104.1 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.114, allocations: 19.72 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.1141, allocations: 21.7 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1142, allocations: 318.8 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.1143, allocations: 27.97 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.1145, allocations: 57.69 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.1147, allocations: 76.8 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1147, allocations: 0 / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003341/0.115, allocations: 105.5 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.1151, allocations: 4 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1151, allocations: 4.031 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.1151, allocations: 4 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.1152, allocations: 19.92 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1153, allocations: 0 / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.356e-05/0.1154, allocations: 27.8 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1154, allocations: 4 kB / 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 0.0001011/0.1155, allocations: 113.8 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/0.1155, allocations: 11.91 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003398/0.1159, allocations: 134.5 kB / 486.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.1159, allocations: 4 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1159, allocations: 3.938 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1159, allocations: 3.938 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005169/0.1164, allocations: 394.4 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.1164, allocations: 0 / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.431e-05/0.1165, allocations: 27.97 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1166, allocations: 0 / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1166, allocations: 7.938 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1166, allocations: 3.938 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1166, allocations: 0 / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003305/0.1169, allocations: 207.4 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.117, allocations: 85 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.013e-05/0.117, allocations: 11.94 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.1171, allocations: 7.984 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.1172, allocations: 4 kB / 487.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.1172, allocations: 3.984 kB / 487.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.1173, allocations: 118 kB / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1173, allocations: 4 kB / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003312/0.1177, allocations: 39.98 kB / 487.3 MB, free: 13.67 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.001852/0.1195, allocations: 1.129 MB / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003222/0.1199, allocations: 83.94 kB / 488.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1199, allocations: 3.938 kB / 488.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.12, allocations: 39.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.0004358/0.1204, 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.002023/0.1225, 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.0002634/0.1228, allocations: 0.6924 MB / 490.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.002e-05/0.1229, allocations: 20.94 kB / 490.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.215e-05/0.123, allocations: 31.42 kB / 490.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.123, allocations: 4 kB / 490.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.144, allocations: 3.414 MB / 494.3 MB, free: 6.742 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.233/8.377, allocations: 13 kB / 494.3 MB, free: 6.73 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches