Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",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.001186/0.001186, allocations: 107.1 kB / 17.32 MB, free: 6.008 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.001077/0.001077, allocations: 189.4 kB / 18.25 MB, free: 5.098 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.326/1.326, allocations: 222.9 MB / 241.9 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2087/0.2087, allocations: 44.19 MB / 336.2 MB, free: 2.836 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001363, allocations: 61.09 kB / 408 MB, free: 27.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09992/0.1013, allocations: 60.82 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002905/0.1042, allocations: 1.645 MB / 470.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006908/0.105, allocations: 415.3 kB / 470.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.003e-05/0.105, allocations: 0 / 470.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002501/0.1053, allocations: 67.84 kB / 470.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.1055, allocations: 63.8 kB / 471 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.1058, allocations: 102.3 kB / 471.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.106, allocations: 71.89 kB / 471.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.739e-05/0.1061, allocations: 20.16 kB / 471.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.105e-05/0.1062, allocations: 35.84 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.639e-05/0.1063, allocations: 51.83 kB / 471.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.1063, allocations: 4 kB / 471.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.144e-05/0.1064, allocations: 47.92 kB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.044e-05/0.1064, allocations: 19.92 kB / 471.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.1065, allocations: 27.8 kB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.1067, allocations: 107.9 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1067, allocations: 0 / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1067, allocations: 0 / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.1067, allocations: 0 / 471.5 MB, free: 11.93 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.0004618/0.1072, allocations: 395 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1072, allocations: 8.031 kB / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.599e-05/0.1073, allocations: 42.75 kB / 471.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.1073, allocations: 8.844 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.1075, allocations: 203.9 kB / 472.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.1075, allocations: 4.375 kB / 472.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.1075, allocations: 8.109 kB / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.1077, allocations: 57.67 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1077, allocations: 0 / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.1077, allocations: 0 / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1077, allocations: 0 / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.459e-05/0.1078, allocations: 35.97 kB / 472.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.1083, allocations: 304.7 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.54e-05/0.1084, allocations: 38.56 kB / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.068e-05/0.1084, allocations: 20.94 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.1084, allocations: 0 / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.1085, allocations: 38.56 kB / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.1085, allocations: 0 / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008452/0.1093, allocations: 229 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.1094, allocations: 59.34 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.1096, allocations: 214.1 kB / 473.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1096, allocations: 29.7 kB / 473.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.214e-05/0.1097, allocations: 100.1 kB / 473.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.1097, allocations: 27.64 kB / 473.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.1097, allocations: 17.72 kB / 473.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1099, allocations: 326.8 kB / 473.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.865e-05/0.1099, allocations: 27.98 kB / 473.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.207e-05/0.11, allocations: 31.97 kB / 473.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.1102, allocations: 84.77 kB / 473.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.1102, allocations: 0 / 473.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000203/0.1104, allocations: 113.6 kB / 473.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1104, allocations: 11.98 kB / 473.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1104, allocations: 80 / 473.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1104, allocations: 4 kB / 473.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.994e-05/0.1105, allocations: 16 kB / 473.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.1106, allocations: 15.91 kB / 473.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.728e-05/0.1106, allocations: 0 / 473.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.1106, allocations: 4 kB / 473.9 MB, free: 9.27 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.083e-05/0.1107, allocations: 129.8 kB / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.1108, allocations: 7.906 kB / 474 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002658/0.111, allocations: 130.3 kB / 474.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.111, allocations: 0 / 474.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.111, allocations: 3.938 kB / 474.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.1111, allocations: 3.984 kB / 474.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004751/0.1115, allocations: 415.2 kB / 474.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1115, allocations: 4.391 kB / 474.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.411e-05/0.1116, allocations: 19.98 kB / 474.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1116, allocations: 4 kB / 474.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.1117, allocations: 4 kB / 474.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.1117, allocations: 0 / 474.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1117, allocations: 0 / 474.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.112, allocations: 220.2 kB / 474.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.112, allocations: 92.94 kB / 474.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.112, allocations: 0 / 474.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.772e-05/0.1121, allocations: 4 kB / 474.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.1121, allocations: 7.984 kB / 474.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.1122, allocations: 8 kB / 474.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.1123, allocations: 151.2 kB / 475.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1123, allocations: 0 / 475.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.1125, allocations: 20 kB / 475.1 MB, free: 7.957 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.001362/0.1139, allocations: 1.114 MB / 476.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.1141, allocations: 79.88 kB / 476.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1141, allocations: 0 / 476.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.009e-05/0.1142, allocations: 39.97 kB / 476.3 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.1146, allocations: 21.69 kB / 476.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.1162, allocations: 1.695 MB / 478 MB, free: 5.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.1165, allocations: 0.708 MB / 478.7 MB, free: 4.344 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.617e-05/0.1165, allocations: 20.66 kB / 478.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.278e-05/0.1166, allocations: 35.36 kB / 478.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1166, allocations: 0 / 478.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01252/0.1291, allocations: 2.897 MB / 481.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002407/0.1294, allocations: 237.7 kB / 481.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.031/2.161, allocations: 0 / 481.9 MB, free: 1.23 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches