Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",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.0008077/0.0008078, allocations: 91.06 kB / 17.35 MB, free: 6 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.0008175/0.0008175, allocations: 177.9 kB / 18.26 MB, free: 5.391 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.174/1.174, allocations: 223.3 MB / 242.3 MB, free: 180 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.1669/0.1669, allocations: 44.24 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002777/0.0002777, allocations: 8 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09076/0.09105, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.001519/0.0926, allocations: 1.282 MB / 473.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.09377, allocations: 0.9843 MB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.267e-05/0.09382, allocations: 4 kB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.09399, allocations: 19.92 kB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.09412, allocations: 35.86 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.09433, allocations: 75.83 kB / 474.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.09444, allocations: 51.84 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.956e-05/0.09453, allocations: 8 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.995e-05/0.09458, allocations: 19.92 kB / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.0947, allocations: 39.78 kB / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.09472, allocations: 0 / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.048e-05/0.09481, allocations: 39.98 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.509e-05/0.09485, allocations: 11.92 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.09489, allocations: 45.56 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.09504, allocations: 88.05 kB / 475.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.09505, allocations: 0 / 475.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.09506, allocations: 0 / 475.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.936e-06/0.09506, allocations: 0 / 475.1 MB, free: 10.54 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.0003532/0.09542, allocations: 373.6 kB / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.09546, allocations: 15.97 kB / 475.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.296e-05/0.0955, allocations: 30.75 kB / 475.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.317e-05/0.09553, allocations: 8.875 kB / 475.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.09568, allocations: 191.6 kB / 475.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-06/0.0957, allocations: 384 / 475.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.09572, allocations: 4.375 kB / 475.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.09585, allocations: 63.34 kB / 475.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.09587, allocations: 7.906 kB / 475.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.09588, allocations: 0 / 475.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.09589, allocations: 3.938 kB / 475.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.664e-05/0.09598, allocations: 31.91 kB / 475.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002673/0.09626, allocations: 272.9 kB / 476 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.09643, allocations: 42.56 kB / 476.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.674e-05/0.09648, allocations: 16.86 kB / 476.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.09651, allocations: 4 kB / 476.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.09653, allocations: 34.5 kB / 476.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.09654, allocations: 0 / 476.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004726/0.09702, allocations: 149.5 kB / 476.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.09707, allocations: 89.09 kB / 476.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.09718, allocations: 133.8 kB / 476.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.0972, allocations: 29.7 kB / 476.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.09725, allocations: 99.97 kB / 476.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.09727, allocations: 11.81 kB / 476.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.999e-05/0.09729, allocations: 13.72 kB / 476.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.187e-05/0.09738, allocations: 322.8 kB / 477 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.723e-05/0.09745, allocations: 23.98 kB / 477 MB, free: 8.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.927e-05/0.09753, allocations: 37.7 kB / 477 MB, free: 8.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.09766, allocations: 53.02 kB / 477.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.09767, allocations: 0 / 477.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001698/0.09784, allocations: 97.55 kB / 477.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.749e-06/0.09786, allocations: 4 kB / 477.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.09787, allocations: 288 / 477.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/0.09788, allocations: 4 kB / 477.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.623e-05/0.09795, allocations: 11.98 kB / 477.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.09796, allocations: 8 kB / 477.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.269e-05/0.09801, allocations: 7.984 kB / 477.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.09802, allocations: 3.938 kB / 477.2 MB, free: 8.133 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 6.153e-05/0.09808, allocations: 113.8 kB / 477.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.09812, allocations: 7.984 kB / 477.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002053/0.09833, allocations: 105.5 kB / 477.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.09834, allocations: 0 / 477.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.09835, allocations: 0 / 477.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.09835, allocations: 0 / 477.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003655/0.09872, allocations: 362.4 kB / 477.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.09873, allocations: 7.875 kB / 477.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.919e-05/0.09879, allocations: 12 kB / 477.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.0988, allocations: 0 / 477.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.09881, allocations: 4 kB / 477.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.09882, allocations: 11.86 kB / 477.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.09882, allocations: 0 / 477.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.09902, allocations: 179.5 kB / 478 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-05/0.09907, allocations: 89 kB / 478.1 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.09909, allocations: 4.25 kB / 478.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.968e-05/0.09916, allocations: 11.94 kB / 478.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.0992, allocations: 3.984 kB / 478.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.09921, allocations: 8 kB / 478.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.444e-05/0.09928, allocations: 99.27 kB / 478.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09928, allocations: 4 kB / 478.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002297/0.09952, allocations: 16 kB / 478.2 MB, free: 7.008 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.001192/0.1007, allocations: 1.062 MB / 479.3 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.1009, allocations: 55.97 kB / 479.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1009, allocations: 0 / 479.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.16e-05/0.101, allocations: 31.92 kB / 479.4 MB, free: 6.012 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.1013, allocations: 19.92 kB / 479.4 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.1025, allocations: 1.418 MB / 480.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.1027, allocations: 0.6848 MB / 481.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.858e-05/0.1028, allocations: 16.05 kB / 481.5 MB, free: 3.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.1028, allocations: 19.42 kB / 481.5 MB, free: 3.75 MB / 350.1 MB Notification: Performance of SimCode: time 1.553e-06/0.1028, allocations: 0 / 481.5 MB, free: 3.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0114/0.1142, allocations: 2.312 MB / 483.8 MB, free: 1.555 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/0.1145, allocations: 248.5 kB / 484.1 MB, free: 1.289 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/1.668, allocations: 4 kB / 484.1 MB, free: 1.285 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches