Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",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.0008225/0.0008228, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.0008026/0.0008026, allocations: 173.8 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.3 MB / 242.3 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2096/0.2096, allocations: 44.25 MB / 337.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003044/0.0003044, allocations: 8.781 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1096, allocations: 61.91 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002089/0.1117, allocations: 1.333 MB / 473.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008043/0.1126, allocations: 439.2 kB / 474.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.862e-05/0.1126, allocations: 4 kB / 474.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005014/0.1132, allocations: 451.1 kB / 474.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002983/0.1135, allocations: 243.6 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.1139, allocations: 158 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.1141, allocations: 167.6 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1143, allocations: 16.19 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.1144, allocations: 103.8 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.1146, allocations: 199.6 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.1146, allocations: 4 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.455e-05/0.1147, allocations: 31.98 kB / 475.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.062e-05/0.1148, allocations: 79.69 kB / 475.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.601e-05/0.1149, allocations: 124.7 kB / 475.7 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.1152, allocations: 251.2 kB / 475.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1152, allocations: 0 / 475.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1152, allocations: 0 / 475.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.1152, allocations: 0 / 475.9 MB, free: 9.672 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.0006997/0.1159, allocations: 0.5873 MB / 476.5 MB, free: 9.035 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.116, allocations: 11.97 kB / 476.5 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.841e-05/0.116, allocations: 38.73 kB / 476.5 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.901e-05/0.1161, allocations: 44.38 kB / 476.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.1164, allocations: 304.1 kB / 476.9 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1164, allocations: 4.375 kB / 476.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.1164, allocations: 12.12 kB / 476.9 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.1166, allocations: 53.67 kB / 477 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1166, allocations: 3.938 kB / 477 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.1166, allocations: 8 kB / 477 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1166, allocations: 0 / 477 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.1167, allocations: 27.98 kB / 477 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004894/0.1172, allocations: 400.6 kB / 477.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.1174, allocations: 58.48 kB / 477.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.293e-05/0.1175, allocations: 16.86 kB / 477.5 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.1175, allocations: 4.078 kB / 477.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.1175, allocations: 34.56 kB / 477.5 MB, free: 7.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.1175, allocations: 0 / 477.5 MB, free: 7.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006001/0.1181, allocations: 248 kB / 477.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.1182, allocations: 55.41 kB / 477.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007579/0.119, allocations: 0.873 MB / 478.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.119, allocations: 25.7 kB / 478.7 MB, free: 6.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.1191, allocations: 220.1 kB / 478.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.1192, allocations: 19.75 kB / 478.9 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.1192, allocations: 9.719 kB / 478.9 MB, free: 6.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1193, allocations: 362.8 kB / 479.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.928e-05/0.1194, allocations: 27.98 kB / 479.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.546e-05/0.1195, allocations: 27.98 kB / 479.3 MB, free: 6.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.1196, allocations: 60.83 kB / 479.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1196, allocations: 0 / 479.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002381/0.1199, allocations: 137 kB / 479.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1199, allocations: 6.5 kB / 479.5 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1199, allocations: 4 kB / 479.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1199, allocations: 0 / 479.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.345e-05/0.12, allocations: 15.98 kB / 479.6 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.12, allocations: 3.938 kB / 479.6 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/0.1201, allocations: 8 kB / 479.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1201, allocations: 0 / 479.6 MB, free: 5.77 MB / 350.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.0001759/0.1203, allocations: 217.8 kB / 479.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.686e-05/0.1204, allocations: 43.38 kB / 479.8 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.1206, allocations: 153 kB / 480 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1207, allocations: 4 kB / 480 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1207, allocations: 4.25 kB / 480 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1207, allocations: 3.938 kB / 480 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005094/0.1212, allocations: 474.5 kB / 480.5 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1212, allocations: 8.219 kB / 480.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.419e-05/0.1213, allocations: 15.98 kB / 480.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1213, allocations: 3.938 kB / 480.5 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.1213, allocations: 0 / 480.5 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.1213, allocations: 7.984 kB / 480.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1213, allocations: 0 / 480.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.1216, allocations: 230.9 kB / 480.7 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.508e-05/0.1217, allocations: 112.5 kB / 480.8 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.1217, allocations: 3.938 kB / 480.8 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.614e-05/0.1218, allocations: 11.98 kB / 480.8 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.1218, allocations: 4 kB / 480.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.1218, allocations: 0 / 480.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006192/0.1225, allocations: 0.6589 MB / 481.5 MB, free: 3.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.044e-06/0.1225, allocations: 0 / 481.5 MB, free: 3.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.1227, allocations: 27.94 kB / 481.5 MB, free: 3.703 MB / 350.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.001325/0.1241, allocations: 1.052 MB / 482.6 MB, free: 2.777 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000192/0.1243, allocations: 55.97 kB / 482.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1243, allocations: 3.938 kB / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.331e-05/0.1244, allocations: 39.97 kB / 482.7 MB, free: 2.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.1247, allocations: 28.95 kB / 482.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003752/0.1285, allocations: 3.356 MB / 486.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.1289, allocations: 0.8262 MB / 486.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.632e-05/0.129, allocations: 15.92 kB / 486.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.1291, allocations: 111.4 kB / 487 MB, free: 14.21 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1291, allocations: 0 / 487 MB, free: 14.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01676/0.1459, allocations: 5.469 MB / 492.5 MB, free: 8.871 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/0.1461, allocations: 239.4 kB / 492.7 MB, free: 8.609 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/1.919, allocations: 0 / 492.7 MB, free: 8.609 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches