Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007407/0.0007407, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007937/0.0007937, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8924/0.8924, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2381/0.2381, allocations: 32.79 MB / 293.5 MB, free: 1.25 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 3.938 kB / 439.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.504e-05, allocations: 2.281 kB / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.002295/0.00232, allocations: 1.652 MB / 441.2 MB, free: 2.594 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005965/0.002917, allocations: 0.7673 MB / 442 MB, free: 1.824 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.832e-05/0.002955, allocations: 3.938 kB / 442 MB, free: 1.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002951/0.00325, allocations: 27.83 kB / 442 MB, free: 1.793 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.003525, allocations: 47.7 kB / 442.1 MB, free: 1.746 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.532e-06/0.003532, allocations: 4 kB / 442.1 MB, free: 1.742 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.003731, allocations: 31.84 kB / 442.1 MB, free: 1.711 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.209e-05/0.003783, allocations: 8 kB / 442.1 MB, free: 1.703 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.375e-05/0.003837, allocations: 23.91 kB / 442.2 MB, free: 1.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.319e-05/0.00389, allocations: 7.984 kB / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.003905, allocations: 0 / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.146e-05/0.003976, allocations: 8 kB / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.915e-05/0.004046, allocations: 19.92 kB / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.923e-05/0.004075, allocations: 15.92 kB / 442.2 MB, free: 1.629 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.004233, allocations: 59.75 kB / 442.3 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.004236, allocations: 0 / 442.3 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.004238, allocations: 0 / 442.3 MB, free: 1.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.004243, allocations: 0 / 442.3 MB, free: 1.57 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003945/0.004638, allocations: 302 kB / 442.6 MB, free: 1.242 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.004682, allocations: 8.031 kB / 442.6 MB, free: 1.234 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.573e-05/0.004718, allocations: 38.73 kB / 442.6 MB, free: 1.188 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.733e-05/0.004745, allocations: 8.891 kB / 442.6 MB, free: 1.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.354e-05/0.004839, allocations: 117.7 kB / 442.7 MB, free: 1.039 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.004848, allocations: 384 / 442.7 MB, free: 1.039 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.004856, allocations: 384 / 442.7 MB, free: 1.039 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.005013, allocations: 137.6 kB / 442.9 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.00502, allocations: 192 / 442.9 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.005029, allocations: 384 / 442.9 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.431e-05/0.005063, allocations: 28.11 kB / 442.9 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.607e-05/0.005119, allocations: 51.84 kB / 442.9 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2005/0.2056, allocations: 0.8526 MB / 443.8 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.457e-05/0.2057, allocations: 174 kB / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/0.2057, allocations: 81.52 kB / 444 MB, free: 46.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.2057, allocations: 75.28 kB / 444.1 MB, free: 46.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.2057, allocations: 108.8 kB / 444.2 MB, free: 46.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 2.414e-06/0.2057, allocations: 0 / 444.2 MB, free: 46.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 9.122e-05/0.2058, allocations: 41.5 kB / 444.3 MB, free: 46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.2059, allocations: 129.7 kB / 444.4 MB, free: 45.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.206, allocations: 198 kB / 444.6 MB, free: 45.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.158e-06/0.206, allocations: 27.92 kB / 444.6 MB, free: 45.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.846e-05/0.2061, allocations: 151.9 kB / 444.8 MB, free: 45.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.598e-06/0.2061, allocations: 1.188 kB / 444.8 MB, free: 45.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.2061, allocations: 44.95 kB / 444.8 MB, free: 45.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.401e-05/0.2061, allocations: 321.1 kB / 445.1 MB, free: 45.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.186e-05/0.2062, allocations: 30.41 kB / 445.1 MB, free: 45.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.599e-05/0.2062, allocations: 153.5 kB / 445.3 MB, free: 45.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.2063, allocations: 204.2 kB / 445.5 MB, free: 44.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.2063, allocations: 5.312 kB / 445.5 MB, free: 44.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001856/0.2065, allocations: 199.3 kB / 445.7 MB, free: 44.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.2065, allocations: 10 kB / 445.7 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.2066, allocations: 6.219 kB / 445.7 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.2066, allocations: 2.875 kB / 445.7 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.755e-05/0.2067, allocations: 41.73 kB / 445.8 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2067, allocations: 5.656 kB / 445.8 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.703e-05/0.2067, allocations: 30.94 kB / 445.8 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.2067, allocations: 8.594 kB / 445.8 MB, free: 44.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.272e-05/0.2068, allocations: 216.8 kB / 446 MB, free: 44.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.2068, allocations: 117.2 kB / 446.1 MB, free: 44.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.19e-05/0.2068, allocations: 117 kB / 446.2 MB, free: 44.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.2069, allocations: 176.3 kB / 446.4 MB, free: 44.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/0.2069, allocations: 183.3 kB / 446.6 MB, free: 44.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/0.2069, allocations: 183.2 kB / 446.8 MB, free: 43.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.207, allocations: 399.1 kB / 447.2 MB, free: 43.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.207, allocations: 104.2 kB / 447.3 MB, free: 43.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.728e-06/0.207, allocations: 107.7 kB / 447.4 MB, free: 43.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/0.207, allocations: 176.3 kB / 447.5 MB, free: 43.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.207, allocations: 182.8 kB / 447.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.345e-05/0.2071, allocations: 183.6 kB / 447.9 MB, free: 42.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.447e-05/0.2071, allocations: 179.1 kB / 448.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.474e-05/0.2071, allocations: 316.9 kB / 448.4 MB, free: 42.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.978e-05/0.2071, allocations: 114.3 kB / 448.5 MB, free: 42.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.2072, allocations: 180.2 kB / 448.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.86e-05/0.2072, allocations: 111.5 kB / 448.8 MB, free: 41.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.904e-05/0.2072, allocations: 181.9 kB / 449 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.2072, allocations: 106.8 kB / 449.1 MB, free: 41.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.275e-05/0.2073, allocations: 130.3 kB / 449.2 MB, free: 41.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2073, allocations: 3.188 kB / 449.2 MB, free: 41.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001749/0.2075, allocations: 16.38 kB / 449.2 MB, free: 41.5 MB / 410.7 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 (0): * Single equations (assignments): 0 * 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.0004427/0.2079, allocations: 0.9306 MB / 450.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001032/0.208, allocations: 73.34 kB / 450.2 MB, free: 40.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.208, allocations: 0 / 450.2 MB, free: 40.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.208, allocations: 0 / 450.2 MB, free: 40.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.2082, allocations: 461 kB / 450.7 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009784/0.2092, allocations: 1.865 MB / 452.5 MB, free: 38.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.265e-05/0.2092, allocations: 86.02 kB / 452.6 MB, free: 38.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000155/0.2094, allocations: 48.53 kB / 452.7 MB, free: 38.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.2094, allocations: 29.05 kB / 452.7 MB, free: 38.44 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.2094, allocations: 0 / 452.7 MB, free: 38.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01422/0.2237, allocations: 2.75 MB / 455.4 MB, free: 37.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.549/6.773, allocations: 7.625 kB / 455.4 MB, free: 37.26 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.732791036367416]