Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001455, allocations: 102.9 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 199.8 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.1 MB / 222.8 MB, free: 4.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2869/0.2869, allocations: 43.49 MB / 313.6 MB, free: 8.551 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 67.91 kB / 382.3 MB, free: 8.523 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1156, allocations: 57.79 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.00307/0.1187, allocations: 1.656 MB / 441.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005876/0.1194, allocations: 335.6 kB / 442.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.1194, allocations: 0 / 442.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005419/0.12, allocations: 447.2 kB / 442.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.1203, allocations: 247.5 kB / 442.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.1205, allocations: 99.81 kB / 442.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.1207, allocations: 155.7 kB / 443 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.66e-05/0.1208, allocations: 16.45 kB / 443 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.483e-05/0.1209, allocations: 107.8 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.1211, allocations: 223.5 kB / 443.4 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.1212, allocations: 4 kB / 443.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.776e-05/0.1212, allocations: 28 kB / 443.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.933e-05/0.1213, allocations: 83.62 kB / 443.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.53e-05/0.1214, allocations: 107 kB / 443.6 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.1217, allocations: 247 kB / 443.8 MB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1217, allocations: 8 kB / 443.8 MB, free: 10.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1217, allocations: 4 kB / 443.8 MB, free: 10.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1217, allocations: 0 / 443.8 MB, free: 10.89 MB / 382.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.0006436/0.1223, allocations: 0.6336 MB / 444.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.1224, allocations: 11.89 kB / 444.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.228e-05/0.1224, allocations: 30.75 kB / 444.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.1225, allocations: 44.38 kB / 444.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.1228, allocations: 300.1 kB / 444.8 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-06/0.1228, allocations: 4.375 kB / 444.8 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.1228, allocations: 12.12 kB / 444.9 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.1229, allocations: 49.67 kB / 444.9 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.1229, allocations: 4 kB / 444.9 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.123, allocations: 0 / 444.9 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.123, allocations: 0 / 444.9 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.738e-05/0.1231, allocations: 27.98 kB / 444.9 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.1235, allocations: 392.6 kB / 445.3 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.1237, allocations: 42.56 kB / 445.4 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.791e-05/0.1238, allocations: 16.86 kB / 445.4 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.1238, allocations: 7.922 kB / 445.4 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.1238, allocations: 34.64 kB / 445.4 MB, free: 9.129 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1238, allocations: 7.938 kB / 445.4 MB, free: 9.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005378/0.1244, allocations: 223.9 kB / 445.7 MB, free: 8.895 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.1244, allocations: 55.41 kB / 445.7 MB, free: 8.828 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007168/0.1251, allocations: 0.8652 MB / 446.6 MB, free: 7.953 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.1252, allocations: 25.7 kB / 446.6 MB, free: 7.922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.1253, allocations: 220.1 kB / 446.8 MB, free: 7.703 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.1253, allocations: 15.75 kB / 446.8 MB, free: 7.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.1254, allocations: 17.72 kB / 446.8 MB, free: 7.664 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1255, allocations: 366.8 kB / 447.2 MB, free: 7.297 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.298e-05/0.1256, allocations: 19.92 kB / 447.2 MB, free: 7.277 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.225e-05/0.1256, allocations: 15.98 kB / 447.2 MB, free: 7.262 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.1257, allocations: 48.83 kB / 447.3 MB, free: 7.211 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1258, allocations: 0 / 447.3 MB, free: 7.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001793/0.1259, allocations: 117.1 kB / 447.4 MB, free: 7.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.126, allocations: 4 kB / 447.4 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.126, allocations: 3.984 kB / 447.4 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.126, allocations: 256 / 447.4 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.713e-05/0.1261, allocations: 15.98 kB / 447.4 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.1261, allocations: 11.88 kB / 447.4 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.313e-05/0.1261, allocations: 4 kB / 447.4 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1261, allocations: 4 kB / 447.4 MB, free: 7.047 MB / 382.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 (5): * Single equations (assignments): 5 * 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.0001639/0.1263, allocations: 213.8 kB / 447.6 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.324e-05/0.1264, allocations: 39.53 kB / 447.7 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.1266, allocations: 133 kB / 447.8 MB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1266, allocations: 3.984 kB / 447.8 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1266, allocations: 7.938 kB / 447.8 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1266, allocations: 0 / 447.8 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004733/0.1271, allocations: 458.4 kB / 448.3 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1271, allocations: 0 / 448.3 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.909e-05/0.1272, allocations: 11.98 kB / 448.3 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.1272, allocations: 3.938 kB / 448.3 MB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1272, allocations: 4 kB / 448.3 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1272, allocations: 0 / 448.3 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1272, allocations: 3.938 kB / 448.3 MB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.1274, allocations: 211 kB / 448.5 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-05/0.1275, allocations: 116.5 kB / 448.6 MB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.1275, allocations: 3.938 kB / 448.6 MB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.784e-05/0.1276, allocations: 4 kB / 448.6 MB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.1277, allocations: 8.172 kB / 448.6 MB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.1277, allocations: 4 kB / 448.6 MB, free: 5.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005572/0.1282, allocations: 0.6511 MB / 449.3 MB, free: 5.086 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1282, allocations: 0 / 449.3 MB, free: 5.086 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002377/0.1285, allocations: 27.92 kB / 449.3 MB, free: 5.059 MB / 382.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 (5): * Single equations (assignments): 5 * 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.001235/0.1297, allocations: 1.047 MB / 450.4 MB, free: 4.023 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001719/0.1299, allocations: 51.91 kB / 450.4 MB, free: 3.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1299, allocations: 0 / 450.4 MB, free: 3.973 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.503e-05/0.13, allocations: 23.98 kB / 450.4 MB, free: 3.949 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.1304, allocations: 30.06 kB / 450.5 MB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/0.1335, allocations: 3.297 MB / 453.8 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1798/0.3133, allocations: 0.8198 MB / 454.6 MB, free: 48.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.925e-05/0.3134, allocations: 9.234 kB / 454.6 MB, free: 48.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.3136, allocations: 102.9 kB / 454.7 MB, free: 48.55 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3136, allocations: 0 / 454.7 MB, free: 48.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6518/0.9654, allocations: 5.717 MB / 460.4 MB, free: 47.94 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/0.9657, allocations: 241 kB / 460.6 MB, free: 47.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.15/3.116, allocations: 0 / 460.6 MB, free: 47.68 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches