Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23",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.0009776/0.0009774, allocations: 93.64 kB / 17.35 MB, free: 6.367 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.001116/0.001116, allocations: 173.4 kB / 18.25 MB, free: 5.523 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.313/1.313, allocations: 223.3 MB / 242.3 MB, free: 244 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.2023/0.2023, allocations: 44.25 MB / 337.7 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003128, allocations: 8 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.113, allocations: 61.92 MB / 472.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.001809/0.1148, allocations: 1.278 MB / 473.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.1161, allocations: 0.9999 MB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.863e-05/0.1162, allocations: 0 / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002114/0.1164, allocations: 19.92 kB / 474.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.1166, allocations: 39.78 kB / 474.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.1169, allocations: 99.38 kB / 474.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.117, allocations: 55.91 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.387e-05/0.1171, allocations: 15.98 kB / 474.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.295e-05/0.1171, allocations: 15.92 kB / 474.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.1173, allocations: 31.8 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.1173, allocations: 3.984 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.391e-05/0.1174, allocations: 35.98 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.189e-05/0.1175, allocations: 15.92 kB / 475 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.219e-05/0.1175, allocations: 41.58 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.1177, allocations: 88.05 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1177, allocations: 0 / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1177, allocations: 0 / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1177, allocations: 4 kB / 475.1 MB, free: 10.52 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004042/0.1181, allocations: 371.3 kB / 475.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1181, allocations: 12.03 kB / 475.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.61e-05/0.1182, allocations: 34.75 kB / 475.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.1182, allocations: 4.938 kB / 475.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.1184, allocations: 188.2 kB / 475.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.1184, allocations: 384 / 475.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.1184, allocations: 4.375 kB / 475.7 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.1186, allocations: 71.33 kB / 475.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1186, allocations: 7.844 kB / 475.8 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1186, allocations: 0 / 475.8 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1186, allocations: 4 kB / 475.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.519e-05/0.1187, allocations: 27.92 kB / 475.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.1191, allocations: 284.9 kB / 476.1 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.1193, allocations: 46.55 kB / 476.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.294e-05/0.1193, allocations: 16.86 kB / 476.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.1194, allocations: 8.078 kB / 476.2 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.1194, allocations: 38.5 kB / 476.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1194, allocations: 0 / 476.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005499/0.1199, allocations: 157.4 kB / 476.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.12, allocations: 81.11 kB / 476.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.1201, allocations: 133.8 kB / 476.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.1201, allocations: 25.7 kB / 476.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.833e-05/0.1202, allocations: 104 kB / 476.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.1202, allocations: 11.81 kB / 476.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/0.1203, allocations: 17.66 kB / 476.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.581e-05/0.1204, allocations: 322.8 kB / 477 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.313e-05/0.1204, allocations: 23.98 kB / 477 MB, free: 8.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.93e-05/0.1205, allocations: 41.7 kB / 477.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.1207, allocations: 60.84 kB / 477.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1207, allocations: 0 / 477.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001886/0.1209, allocations: 93.52 kB / 477.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.1209, allocations: 8 kB / 477.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1209, allocations: 4 kB / 477.3 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.1209, allocations: 0 / 477.3 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.18e-05/0.121, allocations: 15.98 kB / 477.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.121, allocations: 256 / 477.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.613e-05/0.121, allocations: 8 kB / 477.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.1211, allocations: 11.94 kB / 477.3 MB, free: 8.074 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 8.343e-05/0.1211, allocations: 117.8 kB / 477.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.1212, allocations: 8.281 kB / 477.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.1214, allocations: 101.6 kB / 477.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1214, allocations: 3.984 kB / 477.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.1214, allocations: 0 / 477.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1215, allocations: 7.922 kB / 477.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.1219, allocations: 366.4 kB / 477.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1219, allocations: 0 / 477.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.36e-05/0.1219, allocations: 12 kB / 477.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.122, allocations: 0 / 477.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.122, allocations: 3.938 kB / 477.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.122, allocations: 7.938 kB / 477.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.122, allocations: 7.984 kB / 477.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.1222, allocations: 175.5 kB / 478.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/0.1223, allocations: 93 kB / 478.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.1223, allocations: 0 / 478.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.154e-05/0.1224, allocations: 11.94 kB / 478.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.1224, allocations: 7.984 kB / 478.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.1224, allocations: 0 / 478.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.525e-05/0.1225, allocations: 105.5 kB / 478.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1225, allocations: 0 / 478.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.1228, allocations: 27.98 kB / 478.3 MB, free: 6.934 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.001319/0.1241, allocations: 1.063 MB / 479.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.1243, allocations: 59.97 kB / 479.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.1243, allocations: 4 kB / 479.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.29e-05/0.1244, allocations: 35.92 kB / 479.5 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.1247, allocations: 19.92 kB / 479.5 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.1261, allocations: 1.428 MB / 480.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.1264, allocations: 0.6926 MB / 481.6 MB, free: 3.672 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.186e-05/0.1264, allocations: 19.97 kB / 481.6 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.408e-05/0.1265, allocations: 27.36 kB / 481.7 MB, free: 3.625 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1265, allocations: 0 / 481.7 MB, free: 3.625 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01284/0.1393, allocations: 2.337 MB / 484 MB, free: 1.41 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/0.1396, allocations: 239.7 kB / 484.2 MB, free: 1.152 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/1.87, allocations: 3.938 kB / 484.2 MB, free: 1.148 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches