Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",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.0007577/0.0007577, allocations: 92.72 kB / 17.35 MB, free: 6.375 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.0008974/0.0008973, allocations: 180.2 kB / 18.26 MB, free: 5.52 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.223/1.223, allocations: 223.3 MB / 242.3 MB, free: 212 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.1766/0.1766, allocations: 44.24 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003176, allocations: 8.5 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.096/0.09633, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.001856/0.09823, allocations: 1.294 MB / 473.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007565/0.09901, allocations: 395.4 kB / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.494e-05/0.09908, allocations: 4 kB / 474 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.09936, allocations: 123.7 kB / 474.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.09953, allocations: 83.77 kB / 474.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.09978, allocations: 71.86 kB / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.09994, allocations: 87.84 kB / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.494e-05/0.1, allocations: 12.19 kB / 474.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.788e-05/0.1001, allocations: 47.77 kB / 474.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.1002, allocations: 71.84 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.1002, allocations: 7.938 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.046e-05/0.1003, allocations: 39.98 kB / 474.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.057e-05/0.1004, allocations: 23.92 kB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.277e-05/0.1005, allocations: 57.38 kB / 474.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.1006, allocations: 107.9 kB / 474.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1006, allocations: 4 kB / 474.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1006, allocations: 3.938 kB / 474.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.1006, allocations: 0 / 474.8 MB, free: 10.83 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.0004575/0.1011, allocations: 415 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.1012, allocations: 12.03 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.704e-05/0.1012, allocations: 34.75 kB / 475.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.1012, allocations: 16.69 kB / 475.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.1014, allocations: 207.9 kB / 475.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.1015, allocations: 384 / 475.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.1015, allocations: 12.12 kB / 475.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.1016, allocations: 53.67 kB / 475.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1017, allocations: 0 / 475.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.1017, allocations: 3.984 kB / 475.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1017, allocations: 4 kB / 475.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.492e-05/0.1018, allocations: 27.92 kB / 475.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003596/0.1022, allocations: 312.7 kB / 475.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.1023, allocations: 46.5 kB / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.881e-05/0.1023, allocations: 20.94 kB / 475.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.1024, allocations: 0 / 475.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.1024, allocations: 34.56 kB / 475.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.1024, allocations: 0 / 475.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008567/0.1033, allocations: 249 kB / 476.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.1033, allocations: 59.28 kB / 476.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.1035, allocations: 278.2 kB / 476.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.1036, allocations: 25.7 kB / 476.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.894e-05/0.1036, allocations: 112.1 kB / 476.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.1037, allocations: 31.61 kB / 476.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.349e-05/0.1037, allocations: 13.72 kB / 476.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.825e-05/0.1038, allocations: 326.8 kB / 477 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.56e-05/0.1039, allocations: 27.98 kB / 477 MB, free: 8.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.729e-05/0.104, allocations: 32.05 kB / 477.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.1041, allocations: 72.92 kB / 477.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1041, allocations: 0 / 477.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002026/0.1043, allocations: 117.5 kB / 477.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1043, allocations: 6.5 kB / 477.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.1044, allocations: 0 / 477.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.1044, allocations: 0 / 477.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.994e-05/0.1045, allocations: 19.98 kB / 477.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1045, allocations: 3.938 kB / 477.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.449e-05/0.1045, allocations: 12 kB / 477.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.1045, allocations: 0 / 477.3 MB, free: 8.062 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 (8): * Single equations (assignments): 8 * 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 9.031e-05/0.1046, allocations: 137.8 kB / 477.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.1047, allocations: 19.8 kB / 477.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002461/0.1049, allocations: 131 kB / 477.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1049, allocations: 0 / 477.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.1049, allocations: 3.938 kB / 477.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.105, allocations: 7.984 kB / 477.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.1054, allocations: 415.3 kB / 478 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1054, allocations: 7.875 kB / 478 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.652e-05/0.1055, allocations: 23.92 kB / 478 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.1055, allocations: 4 kB / 478 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.1055, allocations: 0 / 478 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1055, allocations: 0 / 478 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1055, allocations: 432 / 478 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.1058, allocations: 220.2 kB / 478.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/0.1058, allocations: 92.86 kB / 478.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.1059, allocations: 4 kB / 478.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.131e-05/0.1059, allocations: 11.92 kB / 478.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.106, allocations: 15.98 kB / 478.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.106, allocations: 4 kB / 478.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001512/0.1061, allocations: 199.2 kB / 478.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1062, allocations: 3.938 kB / 478.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002383/0.1064, allocations: 20 kB / 478.6 MB, free: 6.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.00135/0.1078, allocations: 1.098 MB / 479.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.108, allocations: 67.91 kB / 479.8 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.108, allocations: 4 kB / 479.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.966e-05/0.1081, allocations: 44.03 kB / 479.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.1084, allocations: 15.94 kB / 479.8 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.1101, allocations: 1.824 MB / 481.6 MB, free: 3.676 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.1103, allocations: 0.716 MB / 482.4 MB, free: 2.934 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.769e-05/0.1104, allocations: 12.97 kB / 482.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.1104, allocations: 35.42 kB / 482.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1104, allocations: 4 kB / 482.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01182/0.1223, allocations: 2.865 MB / 485.3 MB, free: 128 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002472/0.1226, allocations: 243.8 kB / 485.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/1.8, allocations: 0 / 485.5 MB, free: 15.86 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches